Skip to content

Conversation

@busi-reddy-karnati
Copy link
Contributor

@busi-reddy-karnati busi-reddy-karnati commented Jan 1, 2025

This pull request introduces a new Has method to the OrderedMap structure across versions and adds corresponding tests and benchmarks to ensure its functionality and performance.

Usage:

for v1

m := orderedMap.NewOrderedMap()
keyExists := m.Has(key)

for v2, v3

m := orderedMap.NewOrderedMap[string, string]()
keyExists := m.Has(key)

Tests:

Added tests for v1, v2, and v3

Benchmarks:

Added benchmarks in v1, v2, and v3


This change is Reviewable

@busi-reddy-karnati
Copy link
Contributor Author

@elliotchance Sorry about the previously raised PR.
I re-did it!

@elliotchance elliotchance merged commit 9d80274 into elliotchance:master Jan 2, 2025
3 checks passed
@elliotchance
Copy link
Owner

Thanks! I've pushed out the new versions.

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.

2 participants