On 2013-03-11 16:11, Namespace wrote:
I've also done some benchmarks. And I wonder why my appender is much faster if I enable memory reservation.
Probably just because D's Appender has a better growth scheme than yours and you reallocate too often. Try to compare how often that happens.
I'm also very interested to hear some improvements tips.
Well, you may add a check whether alloc/realloc actually succeeded. :)
