Re: [RFE][PATCH] Display free space on device in panels

On Wed, May 31, 2006 at 05:13:29PM +0300, Pavel Tsekov wrote:
> There is no need to profile MC. It is not speedup in terms of CPU
> cycles but in reduced screen update i.e. why paint the frame each time
> if it really doesn't change at all.
it should be pointed out that the screen libs (ncurses and slang)
optimize away redundant paints (this can be best proved by messing up
the screen (e.g., with write) and doing something that _certainly_ does
a full paint - like opening the editor).
so the redundant painting happens only in the screen lib's frame buffer,
which isn't that expensive, really. so if it's only one line and the
optimization would be pretty complicated, it simply would not pay. but i
can't judge that case, as i didn't read the code.

Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
Chaos, panic, and disorder - my work here is done.

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