Hacker News new | ask | show | jobs
by feistyio 4620 days 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.

1 comments

Note to self: Next time you want to optimize your cool-looking effects, post the source as a demo to HN. :D