|
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.
[Prev in Thread] | Current Thread | [Next in Thread] |