Skip to content

Add index for findReferences - #91

Merged
fendor merged 2 commits into
haskell:masterfrom
matthewbauer:add-refs-occ-index
Nov 18, 2026
Merged

fendor merged 2 commits into
haskell:masterfrom
matthewbauer:add-refs-occ-index

Conversation

@matthewbauer

Copy link
Copy Markdown
Contributor

The query in findReferences is slow on large repos due to having to scan for every reference without an index. Observed speedup in a work repo is pretty significant -- around 7s to 0.1s.

The query in findReferences is slow on large repos due to having to
scan for every reference without an index. Observed speedup in a work
repo is pretty significant -- around 7s to 0.1s.

@fendor fendor left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@fendor
fendor merged commit 6666edd into haskell:master Nov 18, 2026
8 checks passed
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.

2 participants