4 ms·
> integers are faster than floats Bignums are not faster in general and more work, but yeah: optimizing float (or bignum) to machine int is a win. This was one
by BrendanEich 3y ago
> integers are faster than floats
Bignums are not faster in general and more work, but yeah: optimizing float (or bignum) to machine int is a win. This was one of the first type specializations done in the JS JIT wars of 2008.