-
-
Notifications
You must be signed in to change notification settings - Fork 192
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Memoize sp--strict-regexp-quote #603
Labels
Comments
Anything by skeeto is fine :) Go ahead, just don't forget to put it in Cask and then run |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
One potential improvement to #595 would be to memoize
sp--strict-regexp-quote
. According a reverse rendered profile it's on the higher end of cpu samples. It's a pure function with a limited input set, so it's ripe for memorization. I'd be happy to offer a pull, but I don't know how you'd like to memoize it, if you'd like to pull in a package like https://github.com/skeeto/emacs-memoize or just roll your own.The text was updated successfully, but these errors were encountered: