mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-11-25 13:47:19 +00:00
8c31831626
It is used a lot in clients (including our benchmark). `Uint160` is already optimized. ``` name old time/op new time/op delta Uint256DecodeStringLE-8 150ns ±15% 112ns ± 3% -25.23% (p=0.000 n=10+10) name old alloc/op new alloc/op delta Uint256DecodeStringLE-8 96.0B ± 0% 64.0B ± 0% -33.33% (p=0.000 n=10+10) name old allocs/op new allocs/op delta Uint256DecodeStringLE-8 2.00 ± 0% 1.00 ± 0% -50.00% (p=0.000 n=10+10) ``` Signed-off-by: Evgeniy Stratonikov <evgeniy@nspcc.ru> |
||
---|---|---|
.. | ||
bitfield | ||
slice | ||
uint160.go | ||
uint160_test.go | ||
uint256.go | ||
uint256_test.go |