[Top][All Lists]

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

Re: [PATCH] Improved string writing

From: Kevin Ryde
Subject: Re: [PATCH] Improved string writing
Date: Fri, 22 Apr 2005 08:38:42 +1000
User-agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3 (gnu/linux)

address@hidden (Paul Jarc) writes:
> But the output can be immediate without splitting it up into multiple
> system calls.  (display "foo") can result in write(1, "foo", 3), and
> as long as that write is done before (display) returns, it's still
> just as immediate.

Yep, that's the sort of chunking that should definitely happen, if it
doesn't already.  What was the original output that sparked this?

(I notice "write" style string output in iprin1() always goes
char-by-char, it'd be nice if it scanned ahead for a char needing an
escape, to send the non-escape block as a single lfwrite.  Decent size
runs of plain chars are probably quite likely.)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]