std.allocator needs your help

Nick Sabalausky SeeWebsiteToContactMe at semitwist.com
Mon Sep 23 16:50:50 PDT 2013


On Sun, 22 Sep 2013 16:49:57 -0700
Andrei Alexandrescu <SeeWebsiteForEmail at erdani.org> wrote:
> 
> * expand(b, minDelta, maxDelta) grows b's length by at least minDelta 
> (and on a best-effort basis by at least maxDelta)

Minor bikeshedding issue, but 'maxDelta' isn't a maximum at
all by your description, rather a suggested-but-optional minimum. So it
shouldn't be called 'maxDelta' - very misleading. Should be something
like 'preferredDelta' or 'idealMinDelta', etc.



More information about the Digitalmars-d mailing list