Re:When your data doesn’t fit in memory: the basic techniques
by dfox on Monday November 11, 2019 @07:42PM
(#21510449)
The point there is that you don’t need a buffer for whole line, you only have to find the line terminators. Something like:
And I believe that original unix implementation of nl is mostly this, although with the stdio functions replaced with raw read/write.
[ Parent
| on HN ]
There are no comments on this comment yet.