Skip to content
This repository has been archived by the owner on Jun 23, 2020. It is now read-only.

Contract runtime: better big ints #55

Open
vgrichina opened this issue Dec 29, 2018 · 0 comments
Open

Contract runtime: better big ints #55

vgrichina opened this issue Dec 29, 2018 · 0 comments

Comments

@vgrichina
Copy link
Contributor

https://github.com/MaxGraey/bignum.wasm unfortunately is still lacking in features and implemented in a way where each int length requires complete rewrite.

We should instead port or implement variable length (multiple of 32-bit) integers and create thin wrapper classes with limitation (including overflow/underflow protection).

See http://peterolson.github.io/BigInteger.js/benchmark/ for libraries that can potentially be ported.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant