[lkml]   [1996]   [Sep]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Speeding up screen output for dialog
   From: (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

 \ /
  Last update: 2005-03-22 13:38    [W:0.108 / U:1.500 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site