8000 Tags · elliotchance/orderedmap · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Tags: elliotchance/orderedmap

Tags

v3.1.0

Toggle v3.1.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Add Has Method for OrderedMap (#54)

Co-authored-by: busi-reddy-karnati <busisatya@gmail.com>

v2.7.0

Toggle v2.7.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Add Has Method for OrderedMap (#54)

Co-authored-by: busi-reddy-karnati <busisatya@gmail.com>

v1.8.0

Toggle v1.8.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Add Has Method for OrderedMap (#54)

Co-authored-by: busi-reddy-karnati <busisatya@gmail.com>

v3.0.1

Toggle v3.0.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
performance: Initialize capacity on copy (#51)

v2.6.1

Toggle v2.6.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
performance: Initialize capacity on copy (#51)

v1.7.1

Toggle v1.7.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
performance: Initialize capacity on copy (#51)

v3.0.0

Toggle v3.0.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Support Go iterators (#46)

Iterators were introduced in Go 1.23. They allow `for` loops over custom sequences.

There are some breaking changes to the API, which is why it's being releases as v3. Notable changes are:

- `All()` no longer exists. You can use the now native: `maps.Collect(m.AllFromFront())` for elements, or `slices.Collect(m.Keys())` for keys.
- `Iterator()` and `ReverseIterator()` are now `AllFromFront()` and `AllFromBack()` respectively.
- `Keys()` now returns an `iter.Seq` iterator instead of a list of keys. This should be much more performant on large maps. It is also more consistent with `maps.Keys` from the standard library.
- Added `Values()` which returns an `iter.Seq` iterator. It is also consistent with `maps.Values` from the standard library.

Fixes #44

v2.6.0

Toggle v2.6.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Add NewOrderedMapWithCapacity (#48)

For initializing an orderedmap with enough preallocated space. This improves performances when the result size is known before hand.

v1.7.0

Toggle v1.7.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Add NewOrderedMapWithCapacity (#48)

For initializing an orderedmap with enough preallocated space. This improves performances when the result size is known before hand.

v2.5.0

Toggle v2.5.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Add NewOrderedMapWithElements function for initializing an ordered ma…

…p with data (#45)
0