On 27 September 2011 22:45, Reuben Thomas <r...@sc3d.org> wrote: > On 26 September 2011 23:24, Eric Blake <ebl...@redhat.com> wrote: >> >> So _both_ linebuffer and getdelim would benefit from a conversion to >> freadptr. > > I just tried using getndelim2 instead of getline for a program which > slurps text line by line but spends most of its time regexp-searching > the text, and it made no detectable difference, so I guess it really > does have to be hardcore slurping.
Or perhaps glibc's getline is efficient? -- http://rrt.sc3d.org