neoneo-go/pkg/vm/stackitem
Evgeniy Stratonikov 8fdc7e32f5 stackitem: cache serialized results in EncodeBinary
```
name            old time/op    new time/op    delta
EncodeBinary-8    8.39ms ± 1%    0.05ms ±21%  -99.44%  (p=0.000 n=10+9)

name            old alloc/op   new alloc/op   delta
EncodeBinary-8    2.24MB ± 0%    0.33MB ± 0%  -85.29%  (p=0.000 n=9+10)

name            old allocs/op  new allocs/op  delta
EncodeBinary-8     65.6k ± 0%      0.0k ± 0%  -99.95%  (p=0.000 n=10+10)
```

Signed-off-by: Evgeniy Stratonikov <evgeniy@nspcc.ru>
2021-07-13 11:06:19 +03:00
..
item.go stackitem: rework error handling 2021-07-07 00:18:00 +03:00
item_test.go vm: handle very big int creation properly 2020-10-07 11:50:42 +03:00
json.go stackitem: access value of Array/Struct directly 2021-07-12 14:40:21 +03:00
json_test.go stackitem: add benchmark for serialization routines 2021-07-12 14:40:17 +03:00
serialization.go stackitem: cache serialized results in EncodeBinary 2021-07-13 11:06:19 +03:00
serialization_test.go stackitem: add benchmark for serialization routines 2021-07-12 14:40:17 +03:00
type.go stackitem: rework error handling 2021-07-07 00:18:00 +03:00
type_test.go stackitem: allow to convert type from string 2020-07-31 16:07:16 +03:00