|
From: | grischka |
Subject: | Re: Case mapping of sharp s |
Date: | Sat, 21 Nov 2009 04:08:42 +0100 |
User-agent: | Thunderbird 2.0.0.23 (Windows/20090812) |
Stefan Monnier 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. --- grischka
[Prev in Thread] | Current Thread | [Next in Thread] |