H. S. Teoh:

The question is, is there a way to take a slice of the static array, set the length to zero, and append to it with ~= such that when it runs out of space in the static buffer, it will reallocate a longer array on the
GC heap? Or is this a bad idea?

I suggested to add this to Phobos:
https://d.puremagic.com/issues/show_bug.cgi?id=8550

Bye,
bearophile

Reply via email to