Tom Kaitchuck
Tom Kaitchuck
@bit-ranger I am confused as to why this is happening. `getrandom`'s [toml](https://github.com/rust-random/getrandom/blob/master/Cargo.toml) indicates it depends on `js-sys` only on `wasm32` (which doesn't appear to be the arch in the linked...
The chain works as follows: * `aHash` depends on `getrandom` for randomness. * `getrandom` depends on `wasm-bindgen` only if the `js` feature is enabled. (This is up to the user...
Ahash's goal is to be as fast as possible wherever. This means using specialized instructions when they are available and falling back when they are not. Currently there are three...
The initialization takes 256bits of key. Before the key is used it is run through this function: https://github.com/tkaitchuck/aHash/blob/c069bdcd6516a31939d4a4129c93bd2e4624bdf0/src/random_state.rs#L211 (Which mixes the key using the Hashing algorithm itself incase some portion...
Given that the performance doesn't change when explicitly initializing the hasher, it seems like the perf difference is not coming from the hasher but a difference between the Hashmaps. I...
Testing this locally I don't see the same effect that you do. I went through several ways to create a hashMap with aHash and observed a significant performance difference, but...
I am planning a refactoring of the way the the hasher is instantiated which I intended for use with specialization. But I suppose it could also be used for runtime...
rustc-hash is basically the same as fxHash just with different constants. You can see it in the graph. Based on this issue: https://github.com/rust-lang/rustc-hash/pull/18 I have been toying around with an...
Issue #94 asside, getrandom is no_std. So why would you want to avoid it in a no_std env?
@xu-cheng getrandom explicitly supports SGX environments through RDRAND. It seems like that would be the ideal solution there. But if you really want to disable all randomness, I don't see...