digitalmars.D.learn - Two Tango container package
- Sam Hu (2/2) Jan 02 2009 I was wondering why there are 2 container package under tango.util.colle...
- Tim M (4/8) Jan 02 2009 Container is the newer one. Collection is not going to be removed so
- Lars Ivar Igesund (7/18) Jan 03 2009 It (tango.util.collection) is deprecated yes, but will not stay for long...
- Sam Hu (3/3) Jan 04 2009 OK,so which one is equivelant to ArrayBag in the container module?I foun...
- Lars Ivar Igesund (7/11) Jan 06 2009 That particular container have been prioritized down since arrays in D a...
I was wondering why there are 2 container package under tango.util.collection ,tango.util.container which some of the libarary are the same,say HashSet,HashMap which just make a bit confuse? Thanks.
Jan 02 2009
On Sat, 03 Jan 2009 17:10:44 +1300, Sam Hu <samhu.samhu gmail.com> wrote:I was wondering why there are 2 container package under tango.util.collection ,tango.util.container which some of the libarary are the same,say HashSet,HashMap which just make a bit confuse? Thanks.Container is the newer one. Collection is not going to be removed so suddenly (deprecated). See here http://dsource.org/projects/tango/forums/topic/523
Jan 02 2009
Tim M wrote:On Sat, 03 Jan 2009 17:10:44 +1300, Sam Hu <samhu.samhu gmail.com> wrote:It (tango.util.collection) is deprecated yes, but will not stay for long. -- Lars Ivar Igesund blog at http://larsivi.net DSource, #d.tango & #D: larsivi Dancing the TangoI was wondering why there are 2 container package under tango.util.collection ,tango.util.container which some of the libarary are the same,say HashSet,HashMap which just make a bit confuse? Thanks.Container is the newer one. Collection is not going to be removed so suddenly (deprecated). See here http://dsource.org/projects/tango/forums/topic/523
Jan 03 2009
OK,so which one is equivelant to ArrayBag in the container module?I found Vector is not the same as c++ std::vector<>does,while ArrayBag in the collection module looks more like.If the collection module deprecates in the future,which one in the container module will act as ArrayBag? Thanks. Sam
Jan 04 2009
Sam Hu wrote:OK,so which one is equivelant to ArrayBag in the container module?I found Vector is not the same as c++ std::vector<>does,while ArrayBag in the collection module looks more like.If the collection module deprecates in the future,which one in the container module will act as ArrayBag?That particular container have been prioritized down since arrays in D are fairly nice to use in any case - so an implementation may have to rely on a contribution. or at least a wishlist ticket. -- Lars Ivar Igesund blog at http://larsivi.net DSource, #d.tango & #D: larsivi Dancing the Tango
Jan 06 2009