Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

suggestion: use indutny bn.js (bignumber library) #99

Closed
ethers opened this issue Mar 5, 2015 · 3 comments
Closed

suggestion: use indutny bn.js (bignumber library) #99

ethers opened this issue Mar 5, 2015 · 3 comments
Labels
Enhancement Includes improvements or optimizations

Comments

@ethers
Copy link
Contributor

ethers commented Mar 5, 2015

https://github.com/indutny/bn.js/

It's one of the (if not) fastest.
eg:
http://blog.bitpay.com/2014/07/22/bitcore-3000-is-three-times-faster-for-bitcoin-on-the-web.html
https://gist.github.com/wanderer/5aab77502625d6e2e1d5

@debris
Copy link
Contributor

debris commented Mar 6, 2015

ok!

@debris debris added the Enhancement Includes improvements or optimizations label Mar 6, 2015
@wanderer
Copy link

wanderer commented Mar 6, 2015

👍 bn.js is great

@debris
Copy link
Contributor

debris commented Apr 9, 2015

BigNumber.js is currently part of our public interface. Changing it now to bn.js would be really hard. We aren't doing any heavy calculations in web3.js, so lets stay with BigNumber.js

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement Includes improvements or optimizations
Projects
None yet
Development

No branches or pull requests

3 participants