Closed dsm9000 closed 1 year ago
allocAppendable()
getCapacity()
realloc()
Also title doesn't really match what this does, and there is no description whatsoever...
Please update title/description and this can go in. Next step is extend.
allocAppendable()
: requests an appendable block of given size and saves the used capacity in the extent metadata.getCapacity()
: computes the capacity of a memory segment per the rules of https://dlang.org/spec/arrays.html#capacity-reserve .realloc()
: modified to behave correctly on appendable allocs.