Guile Mailing List Archive

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

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



Jim Blandy <jimb@red-bean.com> writes:

> > (BTW, what was that pre_read and pre_write change about?  I saw that
> >  pre_read seems to flush output when switching to read.  But isn't
> >  this made automatically by STDIO?  I think reading is one of the
> >  conditions when output is flushed.  What else did this change
> >  handle?)
> 
> The comment above the code you found reads:
> [...]

Sorry, I should have read more carefully.  I missed the comment!

I think, maybe, that the win in this case (being able to treat files
opened for update in a simpler way than in the POSIX interface) is not
worth the cost involved in its implementation.  I suspect that this
holds even if we try to find a more efficient implementation.

I plead for dropping this change entirely.

/mdj

Guile Home | Main Index | Thread Index