It is significantly faster to pre-allocate an array size once instead of re-sizing during each concat step. This will provide a significant performance improvement when building the octree (i.e., compiling lists built in parallel down to a single list).
It is significantly faster to pre-allocate an array size once instead of re-sizing during each concat step. This will provide a significant performance improvement when building the octree (i.e., compiling lists built in parallel down to a single list).