You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I recently encountered a TypeScript file at $WORK that caused Emacs to freeze for multiple seconds after changing the buffer's contents.
I did a quick profile, and based on its results was able to get my Emacs instance back to usability by altering this line to set a limit for looking-back.
Could we introduce a limit here?
I don't know what a reasonable limit would be, nor why it's explicitly set to "no limit".
I blame-walked the history and found where the line was introduced, but I still don't understand why there's explicitly no limit to how far backwards we'll look.
I've been eying the new tree-sitter support enviously, waiting for Emacs 29 to hit a proper release. Maybe I should roll up my sleeves and start building my own. 😃
I recently encountered a TypeScript file at $WORK that caused Emacs to freeze for multiple seconds after changing the buffer's contents.
I did a quick profile, and based on its results was able to get my Emacs instance back to usability by altering this line to set a limit for
looking-back
.Could we introduce a limit here?
I don't know what a reasonable limit would be, nor why it's explicitly set to "no limit".
Note that there's another instance of that logic .
The text was updated successfully, but these errors were encountered: