Skip to content

Plot::new now takes an impl AsIdSalt - #265

Merged
emilk merged 1 commit into
mainfrom
emilk/plot-id-salt
Sep 18, 2026
Merged

emilk merged 1 commit into
mainfrom
emilk/plot-id-salt

Conversation

@emilk

@emilk emilk commented Sep 18, 2026

Copy link
Copy Markdown
Owner

A plot's id source only has to be unique within the Ui the plot is shown in, which is exactly what an IdSalt is

A plot's id source only has to be unique within the `Ui` the plot is shown
in, which is exactly what an `IdSalt` is. Hashing it into a globally unique
`Id` first, only to then use that `Id` as a salt, was both wasteful and the
wrong concept.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@emilk emilk added the include in changelog This change will be included in the changelog label Sep 18, 2026
@github-actions

Copy link
Copy Markdown

View snapshot changes at kitdiff

@emilk emilk mentioned this pull request Sep 18, 2026
1 task
@emilk
emilk marked this pull request as ready for review September 18, 2026 09:03
@emilk
emilk merged commit 80e81ba into main Sep 18, 2026
12 checks passed
@emilk
emilk deleted the emilk/plot-id-salt branch September 18, 2026 09:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

include in changelog This change will be included in the changelog

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant