GNU bug report logs - #20887
'make bootstrap' now verrrry slow due to recent isearch changes

Previous Next

Package: emacs;

Reported by: Paul Eggert <eggert <at> cs.ucla.edu>

Date: Wed, 24 Jun 2015 01:36:01 UTC

Severity: normal

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: bruce.connor.am <at> gmail.com
Cc: 20887 <at> debbugs.gnu.org
Subject: bug#20887: 'make bootstrap' now verrrry slow due to recent isearch changes
Date: Wed, 24 Jun 2015 22:14:51 +0300
> Date: Wed, 24 Jun 2015 18:18:51 +0100
> From: Artur Malabarba <bruce.connor.am <at> gmail.com>
> Cc: 20887 <at> debbugs.gnu.org
> 
> > Btw, did you try replacing a simple iteration through all the
> > characters with map-char-table?
> 
> Hadn't thought of that. Indeed, the second loop can be replaced by a
> map-char-table, and it speeds things up by about 30%.

Why only the second?  All you care about is decomposition, that is,
you need only loop over characters that have a non-nil value in the
decomposition property.  You will see in characters.el how you can use
map-char-table over a char-table loaded from uni-decomposition.el
(similar to what we do there with uni-bidi et.).  Won't that be much
faster?

(I didn't actually try that, so perhaps I'm talking nonsense.)




This bug report was last modified 9 years and 334 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.