News for hackers. Stuff that matters.
Re:Show HN: I taught my little brother JS, and he made this ... by fenomas on Thursday January 10, 2019 @06:56AM (#18873222)
> Also never use Math.pow for squaring numbers (used in the distance function) because it is significantly slower...

Modern JS engines optimize hot functions at runtime - advice like this won't affect actual performance.

There are no comments on this comment yet.