Skip to content

Tags: 1l0/xsync

Tags

v4.2.0

Toggle v4.2.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Cooperative rehashing in Map (puzpuzpuz#178)

Introduces cooperative rehashing for `xsync.Map` this means that goroutines that execute write operations, such as `Compute` or `Store`, may participate in table rehashing when the hash table grows or shrinks.

This behavior is always enabled, so the `WithSerialResize` function now acts as a no-op and is marked as deprecated.

v4.1.0

Toggle v4.1.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Add documentation for parallel Map resize (puzpuzpuz#172)

v4.0.0

Toggle v4.0.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Get rid of non-generic data structures and switch to maphash.Comparab…

…le as Map hash function (puzpuzpuz#163)

Changes:
* Version bump to v4.
* Minimal Golang version is now 1.24.
* All non-generic data structures are now removed. Generic versions should be used instead - they use the old names, but type aliases are present to simplify v3-to-v4 code migration.
* `MapOf`'s hasher API is gone. The default and only hash function is now based on `maphash.Comparable`.
* `Map`'s `Compute` API now supports no-op (cancel) compute operation.

v3.5.1

Toggle v3.5.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Clarify docs for `LoadOrCompute` and `LoadOrTryCompute` (puzpuzpuz#154)

v3.5.0

Toggle v3.5.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Add LoadOrTryCompute method to Map/MapOf (puzpuzpuz#153)

v3.4.1

Toggle v3.4.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Add ToPlainMap/ToPlainMapOf utility functions (puzpuzpuz#151)

v3.4.0

Toggle v3.4.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Improve RBMutex readme (puzpuzpuz#141)

v3.3.1

Toggle v3.3.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Add NewMapOfWithHasher function (puzpuzpuz#137)

v3.3.0

Toggle v3.3.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Improve readme (puzpuzpuz#136)

v3.2.0

Toggle v3.2.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Introduce Map/MapOf configs and grow-only option (puzpuzpuz#132)