Use case: eliminate hidden allocations in buildPath
Andrei Alexandrescu
SeeWebsiteForEmail at erdani.org
Wed Dec 4 15:14:48 PST 2013
Hello,
Walter and I were talking about eliminating the surreptitious
allocations in buildPath:
http://dlang.org/phobos/std_path.html#.buildPath
We'd need to keep the existing version working, so we're looking at
adding one or more new overloads. We're looking at giving the user the
option to control any needed memory allocation (or even arrange things
such that there's no memory allocated at all).
It's a generous design space, so although we have a couple of ideas
let's hear others first.
Thanks,
Andrei
More information about the Digitalmars-d
mailing list