public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* list<>.size()
@ 2000-03-31 16:33 Michael Vance
  2000-03-31 17:08 ` list<>.size() Daniel Berlin
  2000-03-31 20:09 ` list<>.size() Dima Volodin
  0 siblings, 2 replies; 12+ messages in thread
From: Michael Vance @ 2000-03-31 16:33 UTC (permalink / raw)
  To: gcc

Folks,

Is list<>.size() O(1) for libstdc++ v3? I bring this up because it's
becoming a portability problem for us--on Windows list<>.size is O(1),
so developers will oftentimes write loops with repeated tests against
it. This becomes a speed nightmare when we port these to Linux.

If is not O(1) in libstdc++ v3, I would like to strongly encourage
that it become so :).

Regards,

m.

-- 
Programmer             "Ha ha." "Ha ha." "What are you laughing at?"
Loki Software                      "Just the horror of being alive."
http://lokigames.com/~briareos/                   - Tony Millionaire

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2000-04-03 13:36 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-03-31 16:33 list<>.size() Michael Vance
2000-03-31 17:08 ` list<>.size() Daniel Berlin
2000-03-31 17:34   ` list<>.size() Michael Vance
2000-03-31 17:46     ` list<>.size() Tudor Hulubei
2000-03-31 18:08       ` list<>.size() Michael Vance
     [not found]         ` <d97lei1oh1.fsf@han.cs.umn.edu>
2000-03-31 19:46           ` list<>.size() Michael Vance
2000-04-01  1:46         ` list<>.size() llewelly
2000-03-31 18:01     ` list<>.size() Joe Buck
2000-03-31 18:11       ` list<>.size() Michael Vance
2000-04-03  9:05         ` list<>.size() Joe Buck
2000-04-03 13:36           ` list<>.size() Ross Smith
2000-03-31 20:09 ` list<>.size() Dima Volodin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).