diff options
author | Mattias EngdegÄrd <mattiase@acm.org> | 2022-12-03 19:19:28 +0100 |
---|---|---|
committer | Mattias EngdegÄrd <mattiase@acm.org> | 2022-12-03 20:47:41 +0100 |
commit | c5ba47c889e3b853d3cc4f7a3ac840a12336dd5f (patch) | |
tree | dd070d937326cfba426b32e3046763422d543549 /lisp/emacs-lisp/comp.el | |
parent | afa4fcb95b4c698ffe94031f344f1f47aa6b2acf (diff) | |
download | emacs-c5ba47c889e3b853d3cc4f7a3ac840a12336dd5f.tar.gz emacs-c5ba47c889e3b853d3cc4f7a3ac840a12336dd5f.tar.bz2 emacs-c5ba47c889e3b853d3cc4f7a3ac840a12336dd5f.zip |
Speed up Unicode normalisation tests by a factor of 5
After this change, ucs-normalize-tests are still very slow but
somewhat less disastrously so (from 100 to 20 min on this machine).
* test/lisp/international/ucs-normalize-tests.el
(ucs-normalize-tests--normalization-equal-p)
(ucs-normalize-tests--normalization-chareq-p)
(ucs-normalize-tests--rule1-holds-p)
(ucs-normalize-tests--rule2-holds-p)
(ucs-normalize-tests--part1-rule2):
Run only over the Unicode code space.
Hoist `with-current-buffer` to reduce overhead.
Diffstat (limited to 'lisp/emacs-lisp/comp.el')
0 files changed, 0 insertions, 0 deletions