Allocatoin policy in Phobos - Was: Vote for std.process

Robert jfanatiker at gmx.at
Fri Apr 12 06:00:18 PDT 2013


I think you are right that phobos should avoid unnecessary allocations,
if it does not affect maintainability/readability of code.

I would suggest, instead of writing your own std.process, that you
simply provide a pull request to the now to be approved one, this way
you can prove your point that it is easy by already improving a part of
the standard library.

If your pull gets accepted, std.process could be referenced from a wiki
page "how to minimize GC usage" for phobos contributions or something.

Best regards,
Robert



More information about the Digitalmars-d mailing list