Allocatoin policy in Phobos - Was: Vote for std.process
Walter Bright
newshound2 at digitalmars.com
Fri Apr 12 11:19:30 PDT 2013
On 4/12/2013 10:51 AM, Steven Schveighoffer wrote:
> Define "absolutely." For example, there was an objection to accepting an AA as
> an "environment" map to std.process.spawnX functions because even though reading
> the AA would not require allocation, allocation would certainly be required to
> build the AA. Is that acceptable? Certainly we could invent a new
> non-allocating map type and accept that instead.
>
> I think we need clearer lines drawn here, if they are to be respected.
I think this is best done on a case-by-case basis using best engineering judgement.
More information about the Digitalmars-d
mailing list