Skip to content
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

Performance: Tab group function is called too often #25

Open
chris-martin opened this issue Apr 3, 2016 · 0 comments
Open

Performance: Tab group function is called too often #25

chris-martin opened this issue Apr 3, 2016 · 0 comments

Comments

@chris-martin
Copy link

My config groups tabs by git repo, by searching up the filesystem hierarchy looking for a .git directory (this is one of the suggestions on the emacs wiki. Today I opened a file from an SSH mount, and noticed a huge performance degradation.

The source of the slowdown was the tab group function, which is apparently invoked for every buffer every time the cursor moves. This seems excessive.

I've memoized my tabbar-buffer-groups-function as a workaround.

chris-martin added a commit to chris-martin/home that referenced this issue Apr 3, 2016
chris-martin added a commit to chris-martin/home that referenced this issue Mar 25, 2023
chris-martin added a commit to chris-martin/home that referenced this issue Mar 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant