Closed kazimuth closed 9 years ago
Allocating new ones isn't that costly though.
On Sun 10 May, 2015 12:56 pm James Gilles notifications@github.com wrote:
Seeing as hundreds of millions of them are allocated, it's probably a good idea to allocate them all at once. (It will use marginally more memory, but still only like a megabyte, and put less stress on the GC.)
— Reply to this email directly or view it on GitHub https://github.com/JapaMala/armok-vision/issues/11.
Done in be67d7d.
Seeing as hundreds of millions of them are allocated, it's probably a good idea to allocate them all at once. (It will use marginally more memory, but still only like a megabyte, and put less stress on the GC.)