neoneo-go/pkg/io
Evgeniy Stratonikov 17a3f17c74 stackitem: use byte-slice directly during encoding
```
name            old time/op    new time/op    delta
EncodeBinary-8    10.6ms ± 1%     8.4ms ± 1%  -20.94%  (p=0.000 n=9+10)

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

name            old allocs/op  new allocs/op  delta
EncodeBinary-8      131k ± 0%       66k ± 0%  -49.98%  (p=0.000 n=10+10)
```

Signed-off-by: Evgeniy Stratonikov <evgeniy@nspcc.ru>
2021-07-13 11:06:18 +03:00
..
binaryBufWriter.go Revert "mpt: do not allocate new buffer when updating dirty node" 2020-12-25 18:42:47 +03:00
binaryReader.go *: enable godot linter and fix all its warnings 2021-05-12 23:17:03 +03:00
binaryrw_test.go io: allow to restrict slice size in ReadVarBytes 2020-06-27 12:17:27 +03:00
binaryWriter.go stackitem: use byte-slice directly during encoding 2021-07-13 11:06:18 +03:00
fileWriter.go always wrap errors when creating new ones with fmt.Errorf() 2020-08-07 12:21:52 +03:00
fileWriter_test.go *: upgrade tests to use T.Cleanup() 2021-03-01 17:08:00 +03:00
serializable.go io: optimize BinWriter.WriteArray() 2019-12-09 14:59:49 +03:00
size.go *: drop unnecessary fmt.Sprintf uses 2021-05-12 18:29:39 +03:00
size_test.go *: move all packages from CityOfZion to nspcc-dev 2020-03-03 17:21:42 +03:00