On Thu, 05 Nov 2009 17:11:38 -0500, Walter Bright
<[email protected]> wrote:
dsimcha wrote:
Ok, I understand the basic principle of a reap, but if it's going to
convert to a
heap when you try to delete something, why not just improve the
standard GC heap,
i.e. by making per-thread heaps?
The problem with per-thread heaps is immutable data can be passed
between threads.
I always assumed that with thread local heaps, both immutable and shared
data would be allocated from a shared heap. Also, the shared heap should
use some form of thread local allocation.
- Re: Safety, undefined behav... Andrei Alexandrescu
- Re: Safety, undefined behav... dsimcha
- Re: Safety, undefined behav... Andrei Alexandrescu
- Regions and Heaps and Reaps... dsimcha
- Re: Safety, undefined behav... Walter Bright
- Re: Safety, undefined behav... dsimcha
- Re: Safety, undefined behav... Michel Fortin
- Re: Safety, undefined behav... Walter Bright
- Re: Safety, undefined behav... Ellery Newcomer
- Re: Safety, undefined behav... rmcguire
- Re: Safety, undefined behav... Robert Jacques
- Re: Safety, undefined behavior, @safe, @trusted Nick Sabalausky
-