fix: EqualFunc not deterministic #2

Merged
mvhutz merged 1 commits from fix/non-deterministic-equalfunc-example into main 2026-03-17 01:54:25 +00:00
Owner

The ExampleEqualFunc_badEqualFunc was non-deterministic, because the hashes used in the CustomTable could (by chance) map "Rob" and "Robert" to the same slot.

  • Updated the test to use a deterministic hash.
The `ExampleEqualFunc_badEqualFunc` was non-deterministic, because the hashes used in the `CustomTable` could (by chance) map "Rob" and "Robert" to the same slot. - Updated the test to use a deterministic hash.
mvhutz added 1 commit 2026-03-17 01:49:29 +00:00
fix: EqualFunc not deterministic
All checks were successful
CI / lint (pull_request) Successful in 50s
CI / unit-test (pull_request) Successful in 25s
CI / fuzz-test (pull_request) Successful in 1m1s
CI / mutation-test (pull_request) Successful in 43s
662f923d74
The `ExampleEqualFunc_badEqualFunc` was non-deterministic, because the hashes used in the `CustomTable` could (by chance) map "Rob"
 and "Robert" to the same slot. Updated the test to use a deterministic hash.
mvhutz merged commit ea805b28e4 into main 2026-03-17 01:54:25 +00:00
mvhutz deleted branch fix/non-deterministic-equalfunc-example 2026-03-17 01:54:25 +00:00
Sign in to join this conversation.