Skip to content

make alp-rd dicts deterministic on equal frequency entries - #9032

Open
onursatici wants to merge 1 commit into
developfrom
os/alp-rd-dict
Open

make alp-rd dicts deterministic on equal frequency entries#9032
onursatici wants to merge 1 commit into
developfrom
os/alp-rd-dict

Conversation

@onursatici

Copy link
Copy Markdown
Contributor

Rationale for this change

If the alp-rd dictionary ends up with entries with the same frequency, serialised array might differ depending on the hashmap order, hence creating different vortex files byte by byte for the same data.

What changes are included in this PR?

break ties on the dictionary by looking at the high bits

Signed-off-by: Onur Satici <onur@spiraldb.com>
@onursatici onursatici added the changelog/fix A bug fix label Jul 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog/fix A bug fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant