Descriptiongo/scanner: faster scanning
Optimize some common cases.
benchmark old ns/op new ns/op delta
BenchmarkScanFile 718907 667960 -7.09%
benchmark old MB/s new MB/s speedup
BenchmarkScanFile 23.03 25.51 1.11x
Patch Set 1 #Patch Set 2 : diff -r f1bf0abeff93 https://code.google.com/p/go #Patch Set 3 : diff -r f1bf0abeff93 https://code.google.com/p/go #Patch Set 4 : diff -r f1bf0abeff93 https://code.google.com/p/go #Patch Set 5 : diff -r ab60a1c1e9b4 https://code.google.com/p/go #
MessagesTotal messages: 7
|