Should I cache custom functions? #2638
Replies: 1 comment 1 reply
-
Wrong project?Am 19.04.2023 um 21:40 schrieb artem-nefedov ***@***.***>:
Suppose I want to use trailing-whitespaces and mixed-indent snippets from the wiki.
They work pretty well, but I'm wondering if there are performance implications of searching whole buffer on every keystroke.
Should I implement cache as described in this article, or is it fine to just use functions directly?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Suppose I want to use trailing-whitespaces and mixed-indent snippets from the wiki.
They work pretty well, but I'm wondering if there are performance implications of searching whole buffer on every keystroke.
Should I implement cache as described in this article, or is it fine to just use functions directly?
Beta Was this translation helpful? Give feedback.
All reactions