Files
emacs/test/lisp
Noam Postavsky 06ff34cd2a Optimize UCS normalization tests
Brings the the time for `ucs-normalize-part1' from 200s down to 130s.
* test/lisp/international/ucs-normalize-tests.el
(ucs-normalize-tests--parse-column): Use character instead of string
of length 1 for terminator.  Convert return value into string since
all callers need that form anyway.
(ucs-normalize-tests--normalization-equal-p): Rename from
ucs-normalize-tests--normalize.  Use dedicated buffer instead of
messing with narrowing.  Take string to compare against and insert it
into buffer so that compare-buffer-substrings can be used instead of
allocating a new string from buffer contents.
(ucs-normalize-tests--normalization-chareq-p): New macro, specialized
for comparing single character.
(ucs-normalize-tests--rule1-holds-p)
(ucs-normalize-tests--rule2-holds-p): Turn into defsubst.
(ucs-normalize-tests--rule1-failing-for-partX): Use `eq' instead of
`='.
2017-07-08 14:31:27 -04:00
..
2017-07-07 22:03:21 +02:00
2017-06-09 15:56:49 +02:00
2017-07-05 17:03:42 +02:00
2017-06-09 15:56:49 +02:00
2017-07-06 19:54:07 -04:00
2017-01-03 18:34:13 -05:00
2017-05-21 00:09:41 +01:00