bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: getline vs linebuffer


From: Reuben Thomas
Subject: Re: getline vs linebuffer
Date: Tue, 27 Sep 2011 22:45:41 +0100

On 26 September 2011 23:24, Eric Blake <address@hidden> 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.

Is there some reason that getline & getdelim can't just be wrappers to
getndelim2?

-- 
http://rrt.sc3d.org



reply via email to

[Prev in Thread] Current Thread [Next in Thread]