-
Notifications
You must be signed in to change notification settings - Fork 195
implement Update for OrderMap and OrderSet
#1033
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
Conversation
✅ Deploy Preview for salsa-rs ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
CodSpeed Performance ReportMerging #1033 will not alter performanceComparing Summary
|
This commit is a hack to get this branch working pending these two upstream PRs: salsa-rs/salsa#1033 bircni/get-size2#40
MichaReiser
left a comment
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.
Thank you
| hashlink = "0.10" | ||
| indexmap = "2" | ||
| intrusive-collections = "0.9.7" | ||
| ordermap = "1" |
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.
This should be a feature gated dependency at the very least
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.
I was going off how indexmap was handled, but now that I look again I guess that's because it's used internally and not purely imported for trait impls. I'll put up a followup PR.
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.
Whoops, sorry, I missed this. Thanks @Veykril
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.
There are places in
tywhere we needIndexMapbecause it'ssalsa::Update, and other places where we needOrderMapbecause it'sHash. @ibraheemdev has suggested that if weimpl Update for OrderMapwe could just useOrderMapacross the board.This is my first Salsa PR, so apologies for any obvious mistakes. In particular, I didn't see any tests for the existing implementations, so I haven't added any for the new ones?