Repository navigation
fix(findlib): memoize findlib db properly - #16412
Merged
Merged
Conversation
Alizter
marked this pull request as ready for review
September 14, 2026 17:20
Alizter
force-pushed
the
push-utvssxrmykky
branch
2 times, most recently
from
September 15, 2026 09:33
8327625 to
8f0c15d
Compare
Member
|
Is the bench old? why is it showing that this is slower? |
The table was being recreated for each call of create_with_paths making the memoization useless. We move the Per_context wrapper to create, where it can actually be keyed against the context name. The caller of create_with_paths is pretty dubious, but I don't want to touch the dev tools support at the moment, so I've left it alone. Signed-off-by: Ali Caglayan <[email protected]>
Alizter
force-pushed
the
push-utvssxrmykky
branch
from
September 21, 2026 13:47
8f0c15d to
df9c334
Compare
Collaborator
Author
|
@rgrinberg I only see a very small slowdown that could be explained as noise. The minor word count appears to have shifted correctly however. |
rgrinberg
approved these changes
Sep 21, 2026
rgrinberg
left a comment
Member
There was a problem hiding this comment.
I see nothing wrong in this PR. I still find it puzzling that there's no observed improvement observed anywhere.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The table was being recreated for each call of create_with_paths making the memoization useless. We move the Per_context wrapper to create, where it can actually be keyed against the context name.
The caller of create_with_paths is pretty dubious, but I don't want to touch the dev tools support at the moment, so I've left it alone.