Skip to content

Fix RdId colisions part 2#597

Merged
Iliya-usov merged 3 commits intomasterfrom
usov/rdid-colisiosns
Mar 18, 2026
Merged

Fix RdId colisions part 2#597
Iliya-usov merged 3 commits intomasterfrom
usov/rdid-colisiosns

Conversation

@Iliya-usov
Copy link
Collaborator

  • Remove mix for int/long
  • Migrate to dynamic next for most entities except exts and direct children that must be the same on both sides

- Remove mix for int/long
- Migrate to dynamic `next` for most entities except exts and direct children that must be the same on both sides
Iliya-usov and others added 2 commits March 16, 2026 11:56
Document the two child RdId generation strategies (hash-based via
Mix/mix and dynamic via Next/next) controlled by the stable parameter,
and how entities like RdExtBase can override it.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Decimal strings for consecutive indices ("0", "1", "2", ...) are very
short and similar, leading to poor hash distribution. Binary representation
produces more varied strings (e.g. 7→"111", 8→"1000"), improving RdId
uniqueness.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@Iliya-usov Iliya-usov requested a review from ForNeVeR March 16, 2026 20:19
@Iliya-usov Iliya-usov merged commit 89d737d into master Mar 18, 2026
9 checks passed
@Iliya-usov Iliya-usov deleted the usov/rdid-colisiosns branch March 18, 2026 20:08
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.

3 participants