This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: Hunting for performance regressions in libstdc++
Jonathan Wakely wrote:
You aren't, by any chance, using std::set::insert() with hints ?
We changed the behaviour of that function recently to conform to the
standard, which contradicts the traditional meaning of the hint. If
you are supplying a hint that points just before the insertion point
you will not get any speed-up.
Paolo kindly pointed out to me that the mail I quoted includes
"gcc-3.4.3's libstdc++" which means that a change we made in 4.0.0
can't be related!
Can I plead stupidity as a defence? ;)
Only if I can :-)
FWIW I'm bringing the app up slowly on gcc-4.0 / gcc-4.1, too,
and am hoping I can catch a few performance regressions in gcc-4.1
before it's released.
- Dan
--
Trying to get a job as a c++ developer? See http://kegel.com/academy/getting-hired.html