emacs-devel
[Top][All Lists]
Advanced

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

Re: simple patch for `etags.el'


From: Paul Pogonyshev
Subject: Re: simple patch for `etags.el'
Date: Tue, 21 Sep 2004 22:04:06 -0200
User-agent: KMail/1.4.3

Richard Stallman wrote:

> Even better, how about not updating the percentage more than once
> per second?

This turned out not to be better.  Overhead caused by time
fetching and comparisons is not worth the gain.  When
percentage is printed whenever it changes, `message' is
called at most 101 times and that is cheap.  Note that 101
is a constant, while the number of constraint evaluations
is practically not limited.

So I suggest not bothering with time.  It is faster, gives
much simpler code and, finally, once per second is still to 
rarely, at least to my tastes.

Can you give a suggestion of where to place the new
functions?  Then I can produce a complete patch.

Paul





reply via email to

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