hashes-0.1.0.1: Hash functions
CopyrightCopyright © 2021 Lars Kuhtz <lakuhtz@gmail.com>
LicenseMIT
MaintainerLars Kuhtz <lakuhtz@gmail.com>
Stabilityexperimental
Safe HaskellNone
LanguageHaskell2010

Data.Hash.FNV1

Description

The primitive versions are usually not more efficient than the version with explicit word sizes for the respective host architecture.

Synopsis

IO API (64 bit)

32 bit versions

Primitive (host word size)

fnv1Primitive :: Addr# -> Int# -> State# tok -> (# State# tok, Word# #) Source #

fnv1Primitive_ :: Addr# -> Int# -> Word# -> State# tok -> (# State# tok, Word# #) Source #

fnv1aPrimitive :: Addr# -> Int# -> State# tok -> (# State# tok, Word# #) Source #

fnv1aPrimitive_ :: Addr# -> Int# -> Word# -> State# tok -> (# State# tok, Word# #) Source #

Utils

Constants