Hi,
Yeah, it looks this needs optimizing indeed. I'll have a look and propose improvments for an update.
however, be aware indeed that you should use ArrayMaker for more flexibility, because the Built in Array in terms of performances is meant to not have it's size changes as it implies GC in all cases, so if you have some performances issue on that front, I would suggest trying out ArrayMaker which uses lists and they don't take GC that much ( or at least I can do something about it straight away as I authored it).
Bye,
Jean