-
Notifications
You must be signed in to change notification settings - Fork 176
Store tracked struct ids as ThinVec on Revisions #892
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
Store tracked struct ids as ThinVec on Revisions #892
Conversation
✅ Deploy Preview for salsa-rs canceled.
|
CodSpeed Performance ReportMerging #892 will not alter performanceComparing Summary
|
513a567
to
d6bd400
Compare
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.
Can't this be a Box<[T]>
even? I don't think we ever push into it?
Is it possible to delete from a box slice? We use |
I guess, we could use a |
9def062
to
ff3585b
Compare
This looks good to me, I was trying to refactor the code to avoid the |
That would be nice! It might still be worth it from a perf perspective to avoid the linear traversal |
a555a0a
to
9ae5e76
Compare
We don't need a map. All we use it for is to seed new ids. This helps to reduce the
QueryRevisionsExtra
size (which will make up for the regression that I introduce in #882)