-
Notifications
You must be signed in to change notification settings - Fork 170
refactor: Shrink QueryRevisions
by 3 usize by boxing IdentityMap
#768
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
base: master
Are you sure you want to change the base?
Conversation
✅ Deploy Preview for salsa-rs canceled.
|
CodSpeed Performance ReportMerging #768 will not alter performanceComparing Summary
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm, modulo doc comment nit
9bf0dfb
to
20f8e85
Compare
Do you see any improvement of peak memory consumption in r-a with this change? I'm just curious on how we make the decisions on perf vs memory consumption (both are very important to us and trading perf for memory consumption can certainly be a worth trade-off, it's just that I don't see the memory impact from our CI pipeline) |
I have not yet, I agree for this one specifically we should as it has performance implications. We'll need to move r-a to the fixpoint changes, then we can test this PR out on our stats afterwards. (though no the regression reported here is not from this PR specifically, that bench regressed on a bunch of PRs randomly) |
Not all queries actually create tracked structs and so this may be empty in those cases
20f8e85
to
3c13bf0
Compare
Not all queries actually create tracked structs and so this may be empty in those cases