From: Matthew Heaney <matthewjheaney@earthlink.net>
Subject: Re: Dynamically tagged expression required
Date: Sun, 11 Dec 2005 14:24:30 GMT
Date: 2005-12-11T14:24:30+00:00 [thread overview]
Message-ID: <uzmn7emoy.fsf@earthlink.net> (raw)
In-Reply-To: 3610380.mzgl1UEuzs@linux1.krischik.com
Martin Krischik <krischik@users.sourceforge.net> writes:
> * One Step vs. Thee step instantiation is not that important when you are
> used to deciding if an IKeySortedSetAsAvlTree or an IKeySortedSetAsTable is
> more appropriate for the task at hand.
That's the same as Ordered_Map and Hashed_Map. And only a single instantiation
is necessary in both the STL and Ada standard container library.
> Of corse the OCL/STL comparison guide only suggest "map<>" for all
> IKeySortedSet variants - and the IKeySet, IMap and ISortedMap variants as
> well - all just "map<>".
I haven't read that guide but that sounds right.
> Just to clarify: There is also a default IKeySortedSet - for those who don't
> want to make too much thinking when choosing a container.
I wonder how this works? Does it assume something about the key type (maybe
all types have a hash function a la Java, or have a relationship operator), or
does it just use a list underneath? What is the time complexity?
next prev parent reply other threads:[~2005-12-11 14:24 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-12-08 13:50 Dynamically tagged expression required Maciej Sobczak
2005-12-08 14:46 ` Georg Bauhaus
2005-12-08 14:52 ` Dmitry A. Kazakov
2005-12-08 19:17 ` Martin Krischik
2005-12-09 9:09 ` Maciej Sobczak
2005-12-09 12:05 ` Jean-Pierre Rosen
2005-12-09 16:41 ` Robert A Duff
2005-12-09 20:18 ` Martin Krischik
2005-12-11 0:43 ` Matthew Heaney
2005-12-11 11:45 ` Martin Krischik
2005-12-11 14:24 ` Matthew Heaney [this message]
2005-12-11 15:18 ` Martin Krischik
2005-12-11 18:07 ` Matthew Heaney
2005-12-12 19:16 ` Martin Krischik
2005-12-13 20:43 ` Georg Bauhaus
2005-12-13 21:00 ` Georg Bauhaus
2005-12-09 20:41 ` Randy Brukardt
2005-12-09 20:16 ` Martin Krischik
2005-12-11 0:46 ` Matthew Heaney
2005-12-12 9:44 ` Maciej Sobczak
2005-12-12 19:13 ` Martin Krischik
2005-12-14 10:22 ` Maciej Sobczak
2005-12-15 20:10 ` Martin Krischik
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox