goff icon indicating copy to clipboard operation
goff copied to clipboard

String() and SetString() method shouldn't use big.Int

Open gbotrel opened this issue 5 years ago • 0 comments

big.Int String() operations are (very) slow for base 10, and quite slow for base 16. No need to support more basis.

First version could implement a fast path for goff, and roll back to current big.Int one in some cases.

gbotrel avatar Jul 14 '20 00:07 gbotrel