buffer-builder icon indicating copy to clipboard operation
buffer-builder copied to clipboard

support chunking growth policy

Open chadaustin opened this issue 10 years ago • 0 comments

On naive implementations of realloc(), the current growth implementation copies (lg N) times. If we chunked into a linked list, we'd have the option to produce a Lazy ByteString, avoiding a copy, or we could copy once into a Strict ByteString.

chadaustin avatar Feb 23 '15 21:02 chadaustin