Skip to content

Commit

Permalink
link to source of magick number
Browse files Browse the repository at this point in the history
  • Loading branch information
jappeace committed Sep 22, 2021
1 parent 43086ec commit a10bb6b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Data/HashMap/Internal.hs
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,7 @@ instance NF.NFData2 Leaf where
-- >>> fromInteger (-3750763034362895579) :: Word64

#if MIN_VERSION_hashable(1,3,1)
-- fnv constant: https://github.com/haskell-unordered-containers/hashable/blame/c0cd4aa5238a2424d602719da9db69cc01bd17bb/src/Data/Hashable/Class.hs#L207
type DefaultSalt = 14695981039346656037 -- fromInteger (-3750763034362895579) :: Word64
#else
type DefaultSalt = 15868100553162883236 -- old values https://github.com/haskell-unordered-containers/hashable/blame/ade7f97d1c59e9cfbad49b6ed130b90805311758/Data/Hashable/Class.hs#L202
Expand Down

0 comments on commit a10bb6b

Please sign in to comment.