opt: optimize Conn.Next and Conn.Peek #654
79.16% of diff hit (target 78.90%)
View this Pull Request on Codecov
79.16% of diff hit (target 78.90%)
Annotations
Check warning on line 332 in connection_unix.go
codecov / codecov/patch
connection_unix.go#L332
Added line #L332 was not covered by tests
Check warning on line 154 in connection_windows.go
codecov / codecov/patch
connection_windows.go#L154
Added line #L154 was not covered by tests
Check warning on line 461 in connection_windows.go
codecov / codecov/patch
connection_windows.go#L458-L461
Added lines #L458 - L461 were not covered by tests
Check warning on line 479 in connection_windows.go
codecov / codecov/patch
connection_windows.go#L475-L479
Added lines #L475 - L479 were not covered by tests
Check warning on line 499 in connection_windows.go
codecov / codecov/patch
connection_windows.go#L496-L499
Added lines #L496 - L499 were not covered by tests