-
Notifications
You must be signed in to change notification settings - Fork 2.9k
fix(deps): update module github.com/puzpuzpuz/xsync/v3 to v4 #39255
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
Open
renovate
wants to merge
1
commit into
main
Choose a base branch
from
renovate/g.yxqyang.asia-puzpuzpuz-xsync-v3-4.x
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
|
ed685d3
to
2f65fb3
Compare
dependency requires go 1.24 #38970 |
2f65fb3
to
add9f90
Compare
add9f90
to
d7f710d
Compare
d7f710d
to
654bf34
Compare
654bf34
to
1b05ade
Compare
1b05ade
to
4097eb9
Compare
4097eb9
to
4174971
Compare
168cd54
to
4174971
Compare
4174971
to
410ee85
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
dependency-major-update
Indicates a dependency major version bump
processor/deltatocumulative
waiting-for-code-owners
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
v3.5.1
->v4.1.0
Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Release Notes
puzpuzpuz/xsync (github.com/puzpuzpuz/xsync/v3)
v4.1.0
Compare Source
UMPSCQueue
#168LoadAndDelete
andDelete
in case of non-existingMap
key #167Map
resize #170UMPSCQueue
is meant to serve as a replacement for a channel. However, crucially, it has infinite capacity. This is a very bad idea in many cases as it means that it never exhibits backpressure. In other words, if nothing is consuming elements from the queue, it will eventually consume all available memory and crash the process. However, there are also cases where this is desired behavior as it means the queue will dynamically allocate more memory to store temporary bursts, allowing producers to never block while the consumer catches up.From now on,
Map
spawns additional goroutines to speed up resizing the hash table. This can be disabled when creating aMap
with the newWithSerialResize
setting:Thanks @PapaCharlie and @llxisdsh for the contributions!
v4.0.0
Compare Source
MapOf
's hasher API is gone. The default and only hash function is now based onmaphash.Comparable
.Map
'sCompute
API now supports no-op (cancel) compute operation.Thanks @PapaCharlie for making this release happen
Migration notes
*Of
types are kept as type aliases for the renamed data structures to simplify the migration, e.g.MapOf
is an alias forMap
.NewMapOfPresized
function is gone.NewMap
combined withWithPresize
should be used instead.Map.Compute
method now expectsvalueFn
to return aComputeOp
value instead of a boolean flag. That's to support compute operation cancellation, so that the call does nothing.Map.LoadOrTryCompute
method is renamed toLoadOrCompute
. The oldLoadOrCompute
method is removed as it was redundant.Configuration
📅 Schedule: Branch creation - "on tuesday" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.