TempAlloc: an unusual request
bearophile
bearophileHUGS at lycos.com
Sun Jun 19 17:21:33 PDT 2011
Andrei:
> dsimcha:
> > My other concern is that giving RegionAllocator reference semantics
> > would, IIUC, require an allocation to allocate a RegionAllocator. Since
> > TempAlloc is designed to avoid global GC locks/world stopping like the
> > plauge, this is obviously bad.
>
> I was actually glad of that particular outcome...
I suggest to think about it three times before giving FrameAlloc reference semantics. I'd even like a variant of Appender without reference semantics.
Bye,
bearophile
More information about the Digitalmars-d
mailing list