4 ms·
Using AES-NI for small integer hashing in the Rust compiler was found to result in a measurable slowdown.
by pcwalton 5y ago
Using AES-NI for small integer hashing in the Rust compiler was found to result in a measurable slowdown.
- oconnor663 5y agoI think the biggest gains from AES-NI are when you can use the vectorized versions. So random byte generation would benefit, but small integer hashing probably not? (Unless you could arrange to hash a vector of integers at once.) But this isn't something I've tried myself.