summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/byte-run.el
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2016-03-06 18:14:46 +0200
committerEli Zaretskii <eliz@gnu.org>2016-03-06 18:14:46 +0200
commitcc057e43130780e566f4b901a59a88edb3f5130d (patch)
tree085a5bb85eb5a019f8d17a837a6110ff58a3ab55 /lisp/emacs-lisp/byte-run.el
parente51b27ec2ce214ef3d8377a27ee9d857bcc66afc (diff)
downloademacs-cc057e43130780e566f4b901a59a88edb3f5130d.tar.gz
emacs-cc057e43130780e566f4b901a59a88edb3f5130d.tar.bz2
emacs-cc057e43130780e566f4b901a59a88edb3f5130d.zip
Speed up redisplay of binary files with long series of nulls
* src/bidi.c (bidi_resolve_weak): Avoid entering a loop searching for a character needed for resolving the type of a series of BN and ET characters, as required by rule W5 of UAX#9, if the results of the resolution are known in advance, because we are at level zero, and the previous strong character was L. (bidi_resolve_neutral): Partially resurrect the optimization for a long series of control characters in an otherwise strictly L2R text. (bidi_level_of_next_char): Don't enter the loop that searches for a paragraph separator if the current character is already at base embedding level. (Bug#22739)
Diffstat (limited to 'lisp/emacs-lisp/byte-run.el')
0 files changed, 0 insertions, 0 deletions