Skip to content

Conversation

@ShaunRember
Copy link

In many applications, JSON objects will contain the same keys in the same order. If we begin with this assumption when comparing objects, comparisons can often be performed much faster.
On my machine, this reduced the time taken to compare two objects with 100k identical keys from ~30s to ~0.03s.

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.

1 participant