Deprecating Allocating Functions In std.string
Jack Stouffer via Digitalmars-d Wed, 04 Nov 2015 08:22:11 -0800
Looking through the source code of std.string, a lot of the
functions that allocate have range based non-allocating
alternatives that accomplish the same task. I'm wondering if
there is any specific reason to keep the allocating versions
around? If there are two functions in the same module that
perform the same task, why not do the cycle of
deprecation->remove docs->remove on the allocating version, as
the other function is clearly better. Also, it's more GC handling
code that would be removed, which is good for PR reasons.
- Deprecating Allocating Functions In std... Jack Stouffer via Digitalmars-d
- Re: Deprecating Allocating Functio... Jonathan M Davis via Digitalmars-d
- Re: Deprecating Allocating Fun... Jack Stouffer via Digitalmars-d
- Re: Deprecating Allocating... Jonathan M Davis via Digitalmars-d
- Re: Deprecating Alloca... Rory McGuire via Digitalmars-d
- Re: Deprecating Alloca... Jonathan M Davis via Digitalmars-d
