Skip to content

Fix division by zero with empty static set - #308

Merged
SimonSapin merged 1 commit into
mainfrom
empty-static-set
Aug 25, 2026
Merged

Fix division by zero with empty static set#308
SimonSapin merged 1 commit into
mainfrom
empty-static-set

Conversation

@SimonSapin

Copy link
Copy Markdown
Member

This happens for example with web_atoms::Prefix: all statically-known strings are short enough to be represented inline, so phf is effectively unused.

This happens for example with [`web_atoms::Prefix`](https://docs.rs/web_atoms/latest/web_atoms/type.Prefix.html): all statically-known strings are short enough to be represented inline, so phf is effectively unused.

Signed-off-by: Simon Sapin <simon@igalia.com>
@SimonSapin
SimonSapin added this pull request to the merge queue Aug 25, 2026
Merged via the queue into main with commit 76df4c8 Aug 25, 2026
4 checks passed
@SimonSapin
SimonSapin deleted the empty-static-set branch August 25, 2026 07:38
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