it's unfortunate, because elisp with its buffer datatype is super powerful (which lets you move a “cursor” back and forth, do regex on parts, etc), and emacs the whole is text processing system. Plus, any code can also run interactively by design.
-
-
Syntax highlighting heavily relies on regexps, so I imagine performance would improve there if we had a faster regexp engine. I've written a highlighting benchmark: https://github.com/Wilfred/emacsbench/blob/master/benchmarks/highlighting.el … but I don't have any dedicated regexp benchmarks (yet
). -
Emacs tries to only highlight the text on screen ('lazy font lock' IIRC) but some parts of highlighting are still O(size of file). If/when I get some pure regexp benchmarks I'll share them
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.