Skip to content
This repository was archived by the owner on Mar 5, 2025. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Enhancement Includes improvements or optimizations
Projects
None yet
Development

No branches or pull requests

3 participants