neo-go/pkg/io
Evgenii Stratonikov 1784a14148 io: optimize BinReader.ReadArray()
reflect.MethodByName is a rather expensive function especially when
called on hot path. This became obvious during profiling of db restore.
This commit replaces reflection with a cast to an interface.
2019-12-09 14:58:37 +03:00
..
binaryBufWriter.go vm: add bufBinWriter to emit functions in order to catch errors 2019-12-02 13:04:33 +03:00
binaryReader.go io: optimize BinReader.ReadArray() 2019-12-09 14:58:37 +03:00
binaryrw_test.go io: optimize BinReader.ReadArray() 2019-12-09 14:58:37 +03:00
binaryWriter.go io: simplify WriteBytes() 2019-12-06 17:40:47 +03:00
fileWriter.go io: move common function and add unit tests for it 2019-11-06 17:12:33 +03:00
fileWriter_test.go io: move common function and add unit tests for it 2019-11-06 17:12:33 +03:00
serializable.go io: optimize BinReader.ReadArray() 2019-12-09 14:58:37 +03:00
size.go fix spelling and godoc comments 2019-10-22 17:56:03 +03:00
size_test.go util: implement io.Serializable for Uint256 2019-11-14 14:20:38 +03:00