Browse thread
Hash clash in polymorphic variants
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | Stefan Monnier <monnier@i...> |
| Subject: | Re: Hash clash in polymorphic variants |
> What I meant was simply that instead of using some fixed hash function, one
> could use a perfect hashing function which is optimal for its known set of
> inputs, and won't ever generate a collision.
The problem is that the set of inputs is not know at compile time, only
at link time.
Stefan