[Bug libstdc++/49717] Debug version checking algorithmic preconditions may have different complexity
redi at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Jul 12 13:55:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49717
--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> 2011-07-12 13:54:51 UTC ---
You should consider using 4.6 for the tests using debug mode - there are some
huge performance improvements, where non-debug iterators are used when checking
is known to have been done already e.g. instead of incrementing a debug
iterator N times and checking on every increment, do the necessary checks once
then increment the underlying "unsafe" iterator N times
More information about the Gcc-bugs
mailing list