On Sat, Oct 27, 2001 at 03:17:02PM -0400, Glenn Maynard wrote:
> Originally, I used memmove/memchr for speed--they're well-optimized.  In
> retrospect, that's also iterating over the input buffer twice (though in
> a cache-friendly way.)
>
> Here's one that anyone can understand:

This one is nicer indeed. And smaller. It has a bug but it does not matter.

I have just noticed that crlf_to_lf is not needed at all. The data will
be converted by other copy peer. Currently they are converted twice.

--
   Alexander.

Reply via email to