Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ImageOptim/libimagequant
/ U32Hasher
Class
U32Hasher
src/hist.rs:393–393 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
391
}
392
393
pub(crate) struct U32Hasher(pub u32);
394
impl std::hash::Hasher for U32Hasher {
395
// magic constant from fxhash. For a single 32-bit key that's all it needs!
396
#[inline(always)]
Callers
2
new
Method · 0.85
init_posterize_bits
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected