BitArray implementation issue
safety0ff via Digitalmars-d
digitalmars-d at puremagic.com
Tue Jul 22 20:02:09 PDT 2014
On Wednesday, 23 July 2014 at 02:33:39 UTC, safety0ff wrote:
>
> In brief, you're suggesting to always realloc on extension, no
> matter if it's a sub-word extension.
> This solves the stomping issue nicely
Actually, you'd need to allocate and copy on each extension, not
realloc, because realloc would do nothing on subword extension.
More information about the Digitalmars-d
mailing list