This is the mail archive of the guile@cygnus.com mailing list for the guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Faster reader (Re: Startup time in guile-1.3 (II))



> It's part of glibc.  So if it's relevant, it might be possible to
> extract from the glibc sources and add to the guile source tree for
> autoconfed inclusion on platforms not using glibc.  (Wish I could
> count on asprintf everywhere too...)

getline gets its speed by groveling around in the stdio buffer
directly, not by calling getc in a loop.  Since the implementation is
intimate withthe stdio buffer representation, we can't include it in
Guile; it would only be useful on systems that use GNU libc.