[Bug libstdc++/53263] priority_queue is very slow if -D_GLIBCXX_DEBUG is used
pluto at agmk dot net
gcc-bugzilla@gcc.gnu.org
Tue May 8 08:07:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53263
--- Comment #8 from Pawel Sikora <pluto at agmk dot net> 2012-05-08 07:54:18 UTC ---
(In reply to comment #7)
> Good, good, thanks Francois, anybody willing to benchmark the more limited
> change?
changing __glibcxx_check_heap_*pred* reduces timings for me from
~3.25 sec to 0.18sec (for 10000 items in pqueue).
tested on on intel core-i3-540 with:
x86_64-gnu-linux-g++ pq.C -o pq -g2 -static -D_GLIBCXX_DEBUG -O2
More information about the Gcc-bugs
mailing list