Skip to content

Conversation

@oconnor663
Copy link
Contributor

There are places in ty where we need IndexMap because it's salsa::Update, and other places where we need OrderMap because it's Hash. @ibraheemdev has suggested that if we impl Update for OrderMap we could just use OrderMap across 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?

@netlify
Copy link

netlify bot commented Dec 3, 2025

Deploy Preview for salsa-rs ready!

Name Link
🔨 Latest commit 8685398
🔍 Latest deploy log https://app.netlify.com/projects/salsa-rs/deploys/6930c9bca42aab0008f92b74
😎 Deploy Preview https://deploy-preview-1033--salsa-rs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@codspeed-hq
Copy link

codspeed-hq bot commented Dec 3, 2025

CodSpeed Performance Report

Merging #1033 will not alter performance

Comparing oconnor663:ordermap (8685398) with master (59aa107)

Summary

✅ 13 untouched

Copy link
Contributor

@MichaReiser MichaReiser left a comment

Choose a reason for hiding this comment

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

Thank you

@MichaReiser MichaReiser added this pull request to the merge queue Dec 4, 2025
@MichaReiser MichaReiser removed this pull request from the merge queue due to a manual request Dec 4, 2025
@MichaReiser MichaReiser added this pull request to the merge queue Dec 4, 2025
Merged via the queue into salsa-rs:master with commit 60d029a Dec 4, 2025
12 checks passed
hashlink = "0.10"
indexmap = "2"
intrusive-collections = "0.9.7"
ordermap = "1"
Copy link
Member

@Veykril Veykril Dec 4, 2025

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

Copy link
Contributor Author

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.

Copy link
Contributor

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

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@oconnor663 oconnor663 deleted the ordermap branch December 4, 2025 16:15
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.

3 participants