-
Notifications
You must be signed in to change notification settings - Fork 5
Performance Improvements #13
Comments
Can you provide actual hard numbers? It's otherwise hard to tell whether there's been an improvement by a change. I have one in mind that might help with this issue and am preparing a PR for it. |
I'm not sure what you're asking for in terms of hard numbers, but:
I'm a bit confused at the profile, since it dosen't point to font-lock or redisplay as the primary curplit (maybe this is just my config, then). I have vim-style scrolling in my config, which is definetly making things worse. When I made this issue originally, I wanted to try and play around with supporting lower font-lock levels and seeing if that helps with the problem at all, since I had similar problems with c++ mode, when I turned it up to the highest font-lock level. |
I mean something like running edit: Results: Modified:
Original:
From this I can tell that if anything, you'd be best off to omit the most often applied rule for a less fancy font-lock level. |
I originally tested alda-mode on small-ish files, but on larger files, it really slows down due to font lock. (such as https://github.com/joshhting/alda-music/blob/master/PotentialForAnything.alda)
I need to do a bit of work on the regexes, and see if I can get any performance improvements. If not, I'll look at reducing the default font lock level.
The text was updated successfully, but these errors were encountered: