help-gplusplus
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: stl vector slower than pointer access


From: 4zumanga
Subject: Re: stl vector slower than pointer access
Date: 9 May 2006 13:14:57 -0700
User-agent: G2/0.2

On the second line of main, you do "len = v.size()", but then don't use
this. I get better code in some cases like this by replacing v.size()
with len in the actual loop.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]