fastmap in regexes

Aidan Kehoe kehoea at parhasard.net
Mon Nov 30 06:34:03 EST 2009


 Ar an naoú lá is fiche de mí na Samhain, scríobh Julian Bradfield: 

 > Can somebody give me a use-case where the fastmap code in regex.c
 > makes a noticeable difference?
 > 
 > I ask because I (out of laziness) disabled most of it in my native-Unicode
 > XEmacs (which I'm now running as my everyday emacs), and so far I
 > don't miss it. But then I only use XEmacs for text-editing and VM, so
 > I probably don't ever exercise it.

The last time we had reported problems with search speed, it was with Gnus
and huge buffers. (Not directly related to the regex fastmap code; the issue
was ı, İ and their case mappings to I and i, and this interfering with the
choice of Boyer-Moore versus a slower algorithm.) I would look there in your
position for any regressions. 

-- 
“Apart from the nine-banded armadillo, man is the only natural host of
Mycobacterium leprae, although it can be grown in the footpads of mice.”
  -- Kumar & Clark, Clinical Medicine, summarising improbable leprosy research



More information about the XEmacs-Beta mailing list