neo-go/pkg/util
Roman Khimov b0744c2b21 util: optimize MarshalJSON allocations
name                  old time/op    new time/op    delta
Uint256MarshalJSON-8     230ns ± 6%      83ns ±13%  -63.78%  (p=0.000 n=8+10)

name                  old alloc/op   new alloc/op   delta
Uint256MarshalJSON-8      320B ± 0%       80B ± 0%  -75.00%  (p=0.000 n=10+10)

name                  old allocs/op  new allocs/op  delta
Uint256MarshalJSON-8      5.00 ± 0%      1.00 ± 0%  -80.00%  (p=0.000 n=10+10)
2022-06-02 15:38:39 +03:00
..
bitfield [#2442] English Check 2022-05-04 19:48:27 +03:00
slice slice: introduce common Copy helper 2021-07-19 22:57:55 +03:00
bench_test.go util: optimize MarshalJSON allocations 2022-06-02 15:38:39 +03:00
uint160.go util: optimize MarshalJSON allocations 2022-06-02 15:38:39 +03:00
uint160_test.go util: allow to marshal Uint160 in YAML 2022-02-21 10:38:20 +03:00
uint256.go util: optimize MarshalJSON allocations 2022-06-02 15:38:39 +03:00
uint256_test.go util: reduce allocations in util.Uint256DecodeStringLE 2021-08-17 16:53:39 +03:00