orlp / foldhash

Don't query the time on WebAssembly (#4)
* Don't Query the Time on WebAssembly Especially the "unknown" target does not have a way to query the current time and panics instead. * Don't use `u128` for the `Duration` This is extremely inefficient, especially on targets that can't handle 128-bit integers well (such as WebAssembly). * Compact the `SystemTime` Querying
Christopher Serr Christopher Serr committed on Oct 1, 2024, 05:37 PM
Showing 1 changed files +4 additions -5 deletions
M src/seed.rs +4 -5
Browse files at this commit โ†’