3 ms·
Dear author: If you refactor the object/array/Float32Array instantiation in the redraw loop out into one-off allocations you will see a remarkably improvement
by feistyio 13y ago
Dear author:
If you refactor the object/array/Float32Array instantiation in the redraw loop out into one-off allocations you will see a remarkably improvement in performance in terms of garbage-collection.
- lstamour 13y agoNote to self: Next time you want to optimize your cool-looking effects, post the source as a demo to HN. :D