[Bug libstdc++/30203] std::vector::size() 10x speedup (patch)

2006-12-14 Thread dberlin at dberlin dot org
--- Comment #5 from dberlin at gcc dot gnu dot org 2006-12-15 05:27 --- Subject: Re: New: std::vector::size() 10x speedup (patch) And what are the timings with a recent version of g++ and actually turning on optimization? On 13 Dec 2006 17:38:06 -, charles at rebelbase dot com <[

[Bug libstdc++/30203] std::vector::size() 10x speedup (patch)

2006-12-14 Thread charles at rebelbase dot com
--- Comment #4 from charles at rebelbase dot com 2006-12-14 17:59 --- (In reply to comment #2) > Can you test with -O1 or above? > As mentioned in comment #1, this should remove all advatages gained from the > "inlined" version. It does indeed. Thanks for your time. -- http://gcc.

[Bug libstdc++/30203] std::vector::size() 10x speedup (patch)

2006-12-14 Thread pcarlini at suse dot de
--- Comment #3 from pcarlini at suse dot de 2006-12-14 10:19 --- Of course. Please, let's not go along this route: it's very well known that an efficient and clean implementation on the library (in particular the "STL" part) relies on very many tiny functions being inlined. -- pcarli

[Bug libstdc++/30203] std::vector::size() 10x speedup (patch)

2006-12-13 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2006-12-14 02:47 --- Can you test with -O1 or above? As mentioned in comment #1, this should remove all advatages gained from the "inlined" version. -- pinskia at gcc dot gnu dot org changed: What|Removed

[Bug libstdc++/30203] std::vector::size() 10x speedup (patch)

2006-12-13 Thread chris at bubblescope dot net
--- Comment #1 from chris at bubblescope dot net 2006-12-13 18:07 --- -O1 is enough to remove all advantages of this patch. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30203