[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Add a `read' method for ports
From: |
Neil Jerram |
Subject: |
Re: [PATCH] Add a `read' method for ports |
Date: |
Thu, 12 Jun 2008 01:19:06 +0100 |
2008/6/11 Neil Jerram <address@hidden>:
>
> 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
scm_fill_input_buf.patch
Description: Binary data
- [PATCH] Add a `read' method for ports, Ludovic Courtès, 2008/06/01
- Re: [PATCH] Add a `read' method for ports, Ludovic Courtès, 2008/06/08
- Re: [PATCH] Add a `read' method for ports, Neil Jerram, 2008/06/09
- Re: [PATCH] Add a `read' method for ports, Ludovic Courtès, 2008/06/09
- Re: [PATCH] Add a `read' method for ports, Neil Jerram, 2008/06/11
- Re: [PATCH] Add a `read' method for ports,
Neil Jerram <=
- Re: [PATCH] Add a `read' method for ports, Ludovic Courtès, 2008/06/12
- Re: [PATCH] Add a `read' method for ports, Neil Jerram, 2008/06/12
- Re: [PATCH] Add a `read' method for ports, Ludovic Courtès, 2008/06/24