<<< Date Index >>>     <<< Thread Index >>>

Re: [PATCH] display search progress with $search_inc



On 2006-11-14 12:49:59 -0800, Brendan Cully wrote:
> On Tuesday, 14 November 2006 at 21:45, Vincent Lefevre wrote:
> > On 2006-11-14 11:26:15 -0800, Brendan Cully wrote:
> > > Hmm. I suppose there's probably a reason I didn't integrate them when
> > > I first added mutt_progress_bar. Then again, it may just have been
> > > laziness. btw I prefer skipping display if the content is the same to
> > > time-based checks because it more accurately reflects *_inc (as well
> > > as saving a context switch :)
> > 
> > But the content changes at each message.
> 
> Only if *_inc is 1. If you've set it to that, you should get what you
> asked for. :)

But there would be a similar problem with *_inc = 10. From what I've
tested, one needs something like *_inc = 100 to be equivalent to a
time-based method (on each message) in the "fast" cases. But a lower
value would be much better in slow cases. In short, a time-based
method (possibly in addition to *_inc) yields better results.

-- 
Vincent Lefèvre <vincent@xxxxxxxxxx> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / Arenaire project (LIP, ENS-Lyon)