alecthomas / mph

Minimal Perfect Hashing for Go
BSD 3-Clause "New" or "Revised" License
172 stars 23 forks source link

Allowing seeding the builder to get reproducible data #20

Closed Jille closed 2 weeks ago

Jille commented 2 months ago

I'm using this to get the byte-for-byte same result if the input is the same, so my rsync-like tool doesn't need to retransmit the data.

also switch to rand.Uint64() which is probably a little cheaper.

Jille commented 3 weeks ago

Friendly ping @alecthomas

alecthomas commented 3 weeks ago

Apologies for the delay!