merge branch profile-stdlib
Jonathan Wakely
jwakely.gcc@gmail.com
Tue Jul 14 11:37:00 GMT 2009
2009/7/14 Silvius Rus:
>
> I just committed revision 149613 to the profile-stdlib branch.
__GUARD isn't a very good name IMHO
Template parameter __Unused could be _Unused (single underscore
followed by uppercase, or double underscore followed by lowercase.)
Un-uglified local variables such as old_size can still clash with user
macros e.g. in include/profile/vector
> Also, below is a sample work flow and the actual warnings issued.
...
> vector-size: improvement = 4: call stack = 0x8048688 0x804a921
> 0x804df02 0x804831e 0xf7d51450 0x80481be : advice = change initial
> container size from 0 to 16384
This change could be useful, as indicated by the estimated
improvement, but why does this suggest an initial size 60% bigger than
the container's final size?
Jonathan
More information about the Libstdc++
mailing list