mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-12-28 01:36:18 +00:00
e7687d620d
Which speeds it up at least twofold for a typical 32-bytes write (and that's for a very naïve test that allocates new BufBinWriter on every iteration): pkg: github.com/CityOfZion/neo-go/pkg/io BenchmarkWriteBytes-8 10000000 124 ns/op BenchmarkWriteBytesOld-8 5000000 251 ns/op |
||
---|---|---|
.. | ||
binaryBufWriter.go | ||
binaryReader.go | ||
binaryrw_test.go | ||
binaryWriter.go | ||
fileWriter.go | ||
fileWriter_test.go | ||
serializable.go | ||
size.go | ||
size_test.go |