emacs-devel
[Top][All Lists]
Advanced

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

Re: Case mapping of sharp s


From: Ulrich Mueller
Subject: Re: Case mapping of sharp s
Date: Sat, 21 Nov 2009 11:41:27 +0100

>>>>> On Sat, 21 Nov 2009, grischka  wrote:

>>> Also how can it happen that a C function varies between 4 and 90
>>> seconds for the same action.
>> 
>> I have no explanation for that.

> Turned out that the time of backwards simple_search depends mostly
> on the number of buffer markers in the buffer.

> That's because of CHAR_TO_BYTE in the inner loop and then because
> that one doesn't mind checking hundreds of markers for each single
> char in the file.

Is that the reason for the backwards search in ERC buffers being
extremely slow? It may keep Emacs busy for several *minutes*. And it's
not interruptible with C-g.

Ulrich




reply via email to

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