Hash collisions with FetchKey.ID in episode 0312-sqlite-sharing-pt4? #158
seanwoodward
started this conversation in
General
Replies: 1 comment 7 replies
-
Hi @seanwoodward, can you more concretely describe the problem you think you are seeing? The let _: FetchKey<Int>.ID
let _: FetchKey<String>.ID So the So I'm not sure how a collision can occur. |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Am I wrong? It looks like FetchKey.ID will allow for hash collisions. Key evaluation on Shared storage will default to Equatable tests on similar FetchKeys independent of Value.Type.
Beta Was this translation helpful? Give feedback.
All reactions