]> git.wincent.com - hextrapolate.git/commit
Replace `unshift()` with `push()` plus `reverse()`
authorGreg Hurrell <greg@hurrell.net>
Thu, 1 Jun 2017 15:16:38 +0000 (08:16 -0700)
committerGreg Hurrell <greg@hurrell.net>
Thu, 1 Jun 2017 15:16:38 +0000 (08:16 -0700)
commitf21c36ed85f277522593f1aed902d18f787a34b1
treedcd4b7619d14457bf6fc7efe9d96c5f26521a488
parent54b28015d427b17e78bd7e30a7efbbe3454891c6
Replace `unshift()` with `push()` plus `reverse()`

As predicted, this is faster. Not sure if as fast as what I had before.
Will do actual profiling and revert to prior state if it ends up being
better.
src/addDigits.js