2008/6/11 Neil Jerram <[EMAIL PROTECTED]>:
>
> I haven't thought through all the cases yet, but it feels as though
> there should be a nice answer here.  For scm_c_read and
> scm_uniform_vector_read, for example, the callers already have a
> buffer, so all we need is a way to temporarily use that as the port's
> read buffer.

I couldn't resist trying this out... attached is a patch that
hopefully shows what I was trying to describe.  Please let me know
what you think.  (I haven't tried benchmarking it, but it at least
passes "make check".)

      Neil

Attachment: scm_fill_input_buf.patch
Description: Binary data

Reply via email to