Skip to content

Cache reverse navigations for large repository performance - #25

Open
benjiwolff wants to merge 1 commit into
jakemason:masterfrom
benjiwolff:cache-reverse-navigations
Open

Cache reverse navigations for large repository performance#25
benjiwolff wants to merge 1 commit into
jakemason:masterfrom
benjiwolff:cache-reverse-navigations

Conversation

@benjiwolff

@benjiwolff benjiwolff commented Apr 25, 2026

Copy link
Copy Markdown

In large repositories, it can take a second to find the matching file. It is then a bit unexpected, that switch back takes another second even though the connection between header and source file has been made.

I would prefer, if the reverse navigations were cached immediately.

Thoughts

This changes the behavior slightly: The reverse navigation will not respect the extension_preferences. However, this is a general problem with extension_preferences potentially allowing non-switching navigations (e.g. file.h -> file.cpp -> file.hpp using default settings).

@benjiwolff benjiwolff changed the title Cache reverse navigations Cache reverse navigations for large repository performance Apr 25, 2026
@benjiwolff
benjiwolff marked this pull request as ready for review April 25, 2026 09:26
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

Successfully merging this pull request may close these issues.

1 participant