Skip to content

Conversation

@chadparry
Copy link
Contributor

This implementation guards against overflow by ensuring that the seeded counter starts off with the most significant bit cleared. It also doesn't use UUIDUtil.constructUUID, which discards some of the entropy bits, leading to duplicated UUIDs.

@chadparry
Copy link
Contributor Author

Feel free to change this to match your style or reject it. :)

@cowtowncoder
Copy link
Owner

Ok thanks! Looks like I need to read this with some thought, due to changes.

Happy New Year & thank you again!

Copy link
Owner

@cowtowncoder cowtowncoder left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great, (finally) approved!

@cowtowncoder
Copy link
Owner

@chadparry Sorry it took so long: code was fine as-is and I should have come back much earlier.
Thank you again for contributing this!

@cowtowncoder cowtowncoder merged commit 1bc24de into cowtowncoder:main Dec 5, 2025
5 checks passed
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