Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
vector::size speed test
VisualPaul
Mar 2nd, 2013
484
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
C++
0.23 KB
| None
|
0
0
raw
download
clone
embed
print
report
#include <stdio.h>
#include <vector>
int
main
(
)
{
std
::
vector
<
char
>
v
(
100
)
;
int
res
=
0
;
for
(
int
i
=
0
;
i
<
100000000
;
++
i
)
res
+
=
v.
size
(
)
;
printf
(
"%d
\n
"
, res
)
;
}
Advertisement
Add Comment
Please,
Sign In
to add comment
Public Pastes
AI destroys crypto
CSS | 9 min ago | 0.85 KB
✅ 0 DAY Hacked
CSS | 9 min ago | 0.86 KB
This is how to get a Lambo
CSS | 20 min ago | 0.85 KB
How to hack an exchange
CSS | 20 min ago | 0.86 KB
✅ FREE COINS METHOD
CSS | 20 min ago | 0.85 KB
✅ +12,000$ in 2 days
CSS | 21 min ago | 0.86 KB
How to hack an exchange
CSS | 31 min ago | 0.85 KB
✅ 0 DAY Hacked
CSS | 31 min ago | 0.86 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!