bug-ncurses
[Top][All Lists]
Advanced

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

Re: optimizing _nc_scroll_window?


From: Thomas Dickey
Subject: Re: optimizing _nc_scroll_window?
Date: Thu, 15 Mar 2007 07:41:10 -0400 (EDT)

On Thu, 15 Mar 2007, Folkert van Heusden wrote:

Hi,

Do you think that _nc_scroll_window can be optimized any further? (for
speed)

perhaps (I suspect you're using libncursesw, whose larger cellsize makes
memory compare/copy rather expensive...)

That because I did some profiling and it seems that _nc_scroll_window is
using 15% of the cputime my program spends on the processor.

That should be related to the number of steps the scrolling does.

--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net




reply via email to

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