4 ms·
True, but both of these are for relatively slow operations, where the performance of the error checking is relatively insignificant.
by manlobster 2y ago
True, but both of these are for relatively slow operations, where the performance of the error checking is relatively insignificant.
- zachmu 2y agoIt has also become somewhat common to use io.EOF to signal the end of iteration, like the reader libraries do.