[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug-gnulib] Re: getline
From: |
Paul Eggert |
Subject: |
[bug-gnulib] Re: getline |
Date: |
Sun, 26 Dec 2004 21:56:57 -0800 |
User-agent: |
Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux) |
Simon Josefsson <address@hidden> writes:
> Are you saying getline/getdelim when built in glibc should not use
> getndelim2, so they don't take any performance hit?
Sorry, I hadn't thought it through. But I was hoping it could be done
without any performance hit, while still using getndelim2. Perhaps
with inline functions. (Sorry, I'm pretty dense right now too....)
> Keep in mind that the gnulib getline/getdelim aren't the same as in
> libc anyway. I don't think the glibc version work in gnulib without
> several changes.
Yes, it'd have to be merged together.
> Here's an idea. Maybe the glibc getline/getdelim code could be
> modified so they optionally (when 'HAVE_GETNDELIM2') uses getndelim2,
> and then the gnulib modules for getline/getdelim is synced with the
> glibc implementation?
That would also work, but it would mean more duplicate code, no?
getndelim2 essentially copies getdelim.
- [bug-gnulib] getline, Simon Josefsson, 2004/12/01
- Re: [bug-gnulib] getline, Paul Eggert, 2004/12/01
- [bug-gnulib] Re: getline, Simon Josefsson, 2004/12/01
- Re: [bug-gnulib] Re: getline, Paul Eggert, 2004/12/02
- [bug-gnulib] Re: getline, Simon Josefsson, 2004/12/02
- Re: [bug-gnulib] Re: getline, Paul Eggert, 2004/12/02
- [bug-gnulib] Re: getline, Simon Josefsson, 2004/12/25
- [bug-gnulib] Re: getline, Paul Eggert, 2004/12/25
- [bug-gnulib] Re: getline, Simon Josefsson, 2004/12/26
- [bug-gnulib] Re: getline,
Paul Eggert <=
- [bug-gnulib] Re: getline, Simon Josefsson, 2004/12/27