Skip to content
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

fix: Proper equality for easy::Value #196

Merged
merged 1 commit into from
Sep 11, 2021
Merged

Conversation

epage
Copy link
Member

@epage epage commented Sep 11, 2021

LinkedHashMaps equality checked order when we don't want it to. It
also isn't maintained. So we're switching to IndexMap

Unfortunately, there are other ordering issues in the relevant test that
makes it hard to get right, so went ahead and removed it.

Unfortunately, I didn't see any change in performance.

Fixes #194

`LinkedHashMap`s equality checked order when we don't want it to.  It
also isn't maintained.  So we're switching to `IndexMap`

Unfortunately, there are other ordering issues in the relevant test that
makes it hard to get right, so went ahead and removed it.

Unfortunately, I didn't see any change in performance.

Fixes toml-rs#194
@epage epage merged commit 2ff172e into toml-rs:master Sep 11, 2021
@epage epage deleted the indexmap branch September 11, 2021 23:33
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.

easy::Value equality doesn't handle keys being in other orders
1 participant