On Fri, Feb 20, 2009 at 02:42:18PM +0100, Javier Barroso 
<[email protected]> was heard to say:
> In aptitude 4.x, I hold j key a while and ncurses was responsive (package 
> selector was down fast)

  Are you sure this is true?  The problem seems to be caused by the
"why" tab in the lower pane, and that code exists in 4.x too.  Anyway,
the fix is to do at least one of

  (1) Only run "why" if that tab is shown;
  (2) Run "why" in a background thread and post its results when it
      finishes;
  (3) Find out why "why" is slow on certain packages (lots of rev-deps,
      perhaps?) and make it faster.

  I think (2) is actually the ideal solution: even with (3), it's
unlikely the calculation will always be so fast as to have no lag.
(1) might be a reasonable stopgap, but the problem would come back
if you ever looked at that tab.

  Daniel



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to