http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46659
--- Comment #6 from Pawel Sikora <pluto at agmk dot net> 2010-12-07 22:05:15 UTC --- (In reply to comment #5) > With current mainline 200000 elements finishes in 0.1s on my x86_64 system, > which is only 5 times slower than non-debug mode. > > That's compared with 5m36s with 4.5's debug mode. > > I think it's safe to say François has fixed it :) in fact :) with current git-mirror 54486c25c3df3bdb314929fe30855f0d3bd2e0b5 checkout for 200'000 elemetns i have a fantastic speedup: $ time ./t-libstdcxx ./t-libstdcxx 0,09s user 0,01s system 98% cpu 0,109 total $ time ./t-stlport ./t-stlport 170,91s user 0,01s system 99% cpu 2:50,93 total