News for hackers. Stuff that matters.
Re:Things I Was Wrong About: Types by three14 on Wednesday September 30, 2020 @04:32PM (#24643472)
This doesn't look to me like a dynamic typing problem. All the types are Javascript numbers. The issue probably stems from Math.pow's flexibility; it can even accept fractional exponents. The more general algorithm is probably slower.

There are no comments on this comment yet.