forked from TrueCloudLab/neoneo-go
1784a14148
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. |
||
---|---|---|
.. | ||
binaryBufWriter.go | ||
binaryReader.go | ||
binaryrw_test.go | ||
binaryWriter.go | ||
fileWriter.go | ||
fileWriter_test.go | ||
serializable.go | ||
size.go | ||
size_test.go |