|
-
April 12th, 2010, 05:50 PM
#5
Re: Is there any danger in doing this?
 Originally Posted by ninja9578
I didn't look at the assembly, but the loop itself in 3x faster if calling end over and over again is not done. I don't think the compiler is smart enough to optimize that out, as end() is a function and it's not const.
I still would have expected to be inlined though...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|