[Top][All Lists]

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

Re: [Bug-zile] [PATCH] {lua} redisplay: don't redraw the entire window o

From: Reuben Thomas
Subject: Re: [Bug-zile] [PATCH] {lua} redisplay: don't redraw the entire window on every keypress.
Date: Thu, 23 Feb 2012 22:12:21 +0000

On 23 February 2012 17:53, Gary V. Vaughan <address@hidden> wrote:
> Zile redraws the entire screen on every keypress, which means that
> as soon as we add in the overhead of running several regexps to
> figure out what needs highlighting, and then the overhead of all
> the addition term_setattrs() calls... the slowdown is compounding
> enormously.

Please do try something like this. Of course, without highlighting,
updating the display just means writing as many characters as there
are visible, and the actual output is elided intelligently by curses.
But clearly if Zi is doing lots of work to calculate the characters,
this must be avoided.


reply via email to

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