Patashu / break_eternity.js

A Javascript numerical library to represent numbers as large as 10^^1e308 and as small as 10^-10^^1e308. Sequel to break_infinity.js, designed for incremental games.
MIT License
121 stars 44 forks source link

Optimise D, FC, FC_NN, ME, MN #83

Closed mcpower closed 2 years ago

mcpower commented 2 years ago

This PR makes those variables point to the original static methods that they are aliasing, avoiding the overhead of a function call.

This PR conflicts with #84 as they both change .eslintrc.js. Choose one to merge first and I'll rebase the other one on top of HEAD (or you can resolve the merge conflicts yourself).