[slime-devel] Re: patchlets on buffering.

Mario S. Mommer mmommer at common-lisp.net
Fri Nov 11 20:08:18 UTC 2005


Taylor Campbell <campbell at mumble.net> writes:
> Wouldn't it be best for the Swank evaluation RPCs to force the output
> themselves?  This is just as simple to implement, doesn't introduce
> potential performance problems of unbuffered I/O, and solves the
> problem more clearly where it is occurring.  (This is what I do in
> SLIME48.)

How about

(progn
    (format t "Wait 10 secs...")
    (sleep 10)
    (format t "...done.~%"))

Does it do what you would expect from an unbuffered stream?

I've been using the streams unbuffered for the past year or so, and
have never noticed any performance problems.

Regards,
        Mario.




More information about the slime-devel mailing list