Safety, undefined behavior, @safe, @trusted

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Thu Nov 5 14:51:53 PST 2009


dsimcha wrote:
> == Quote from Andrei Alexandrescu (SeeWebsiteForEmail at erdani.org)'s article
>> Well I'm thinking that often when you use a region, the memory
>> consumption is not really large. If it's really large, then you may be
>> better off just using the GC because it means you do a lot of stuff. But
>> I'm sure I'm ignoring a few important applications.
>> Andrei
> 
> By not really large, how big are we talking?  Less than a few 10s of KB?  If so, I
> think just having the whole thing scanned would be feasible.

Honest, I don't know. Only real-life usage might tell. At any rate, a 
few 10s of KBs would definitely work for many of my own applications.

Andrei



More information about the Digitalmars-d mailing list