summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/timer.el
diff options
context:
space:
mode:
authorMattias EngdegÄrd <mattiase@acm.org>2023-07-30 21:53:06 +0200
committerMattias EngdegÄrd <mattiase@acm.org>2023-08-02 18:28:23 +0200
commitd167888c5b7740af3300ee363c5121519dada0a2 (patch)
treea41574f41ae8c1376c50d950c6f7f60f952a4b4e /lisp/emacs-lisp/timer.el
parentcda4396ade14aae126b06d7ea559fc0fcb4324fe (diff)
downloademacs-d167888c5b7740af3300ee363c5121519dada0a2.tar.gz
emacs-d167888c5b7740af3300ee363c5121519dada0a2.tar.bz2
emacs-d167888c5b7740af3300ee363c5121519dada0a2.zip
rx performance improvements
* lisp/emacs-lisp/rx.el (rx--generate-alt): Treat the intervals and classes lists separately without joining, to reduce allocation. Handle special cases first. (rx--union-intervals): Implement directly instead of using intersection and complement. * test/lisp/emacs-lisp/rx-tests.el (rx-any): Adapt test, as some character alternatives are now slightly different. (rx--complement-intervals, rx--union-intervals) (rx--intersect-intervals): New unit tests.
Diffstat (limited to 'lisp/emacs-lisp/timer.el')
0 files changed, 0 insertions, 0 deletions