Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[Uid] Improve entropy of the increment for UUIDv7 #60908

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

Merged
merged 1 commit into from
Jun 27, 2025

Conversation

nicolas-grekas
Copy link
Member

Q A
Branch? 6.4
Bug fix? yes
New feature? no
Deprecations? no
Issues -
License MIT

Looks like we're missing the sign bit when computing the random increments on x64.

@carsonbot carsonbot added this to the 6.4 milestone Jun 26, 2025
@nicolas-grekas nicolas-grekas merged commit 95c8509 into symfony:6.4 Jun 27, 2025
7 of 11 checks passed
@fabpot fabpot mentioned this pull request Jun 28, 2025
@nicolas-grekas nicolas-grekas deleted the uid-bits branch June 28, 2025 08:16
This was referenced Jun 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants