If T[new] is the container for T[], then what is the container for T[U]?
Leandro Lucarella
llucax at gmail.com
Sat Apr 25 09:49:59 PDT 2009
Robert Jacques, el 25 de abril a las 10:58 me escribiste:
> On Sat, 25 Apr 2009 09:16:39 -0400, Andrei Alexandrescu <SeeWebsiteForEmail at erdani.org> wrote:
>
> >Stewart Gordon wrote:
> >>Andrei Alexandrescu wrote:
> >>>It looks we can't make it with only T[]. We need a genuine container type, and T[new] was suggested.
> >><snip>
> >> What do you mean by a "genuine container type"?
> >
> >One with capacity and probably value semantics.
> >
> >Andrei
>
> First, capacity is only static (i.e. can be included in the array as you
> suggest) for free-list based allocation. Which is _only_ used by malloc
> and mark-sweep GCs. And I'm really hoping Leandro gives us something
> better than mark-sweep.
I don't think I will, not at least for my thesis (I will be concentrating
in make the current GC concurrent and making pauses as small as possible).
But maybe Keith will:
http://www.dsource.org/projects/tango/forums/topic/743
8-)
--
Leandro Lucarella (luca) | Blog colectivo: http://www.mazziblog.com.ar/blog/
----------------------------------------------------------------------------
GPG Key: 5F5A8D05 (F8CD F9A7 BF00 5431 4145 104C 949E BFB6 5F5A 8D05)
----------------------------------------------------------------------------
The diference is simple: hackers build things, crackers break them.
More information about the Digitalmars-d
mailing list