Re: Speeding up screen output for dialog

Theodore Y. Ts'o (tytso@mit.edu)
Thu, 5 Sep 1996 14:44:13 -0400


From: richard@atheist.tamu.edu (Richard Henderson)
Date: Wed, 4 Sep 1996 21:12:57 -0500 (CDT)

If the speed problem is almost entirely due to moving the cursor,
you don't need to do any buffering, just keep track of the cursor
in software and sync the hardware in flush_chars().

Very good point; it's in fact faster because you save a memory copy. It
would mean restructuring the way con_write() works so that the "output a
character" lines are pulled out of its while loop and put into a
procedure, but it would in fact have all of the benefits of buffering
without needing the !@#! buffer. :-)

Thanks for suggesting it!

- Ted