Closed bat22 closed 6 years ago
In wireprotocal.go lines like this: debugPrint(p, fmt.Sprintf("\trecvPackets():%v:%v", buf, err)) have overhead for fmt.Sprintf call even debugPrint body commented.
debugPrint(p, fmt.Sprintf("\trecvPackets():%v:%v", buf, err))
This change increases rows.Scan() perfomance up to 40%
thanks!
In wireprotocal.go lines like this:
debugPrint(p, fmt.Sprintf("\trecvPackets():%v:%v", buf, err))
have overhead for fmt.Sprintf call even debugPrint body commented.