Hacker News new | ask | show | jobs
by bhouston 1075 days ago
Or you are working with a language like JavaScript where math primitives are GC objects and thus quite costly. In those languages if you do not reduce object creation via reuse in this way, it can be very slow.