name: cityhash
version: 0.3.0.1
synopsis: Bindings to CityHash
description:
This package implements a binding to the CityHash family of hashing functions (implemented in C++.)
.
See for more information.
.
This package has optional SSE4.2 support. If you build it with the @-fsse42@ flag, the 128-bit
hashing functions will use an SSE-optimized implementation (which takes advantage of the @crc32@
instruction present on recent Intel/AMD machines.) The 64-bit hashing functions are unaffected.
homepage: http://github.com/thoughtpolice/hs-cityhash
bug-reports: https://github.com/thoughtpolice/hs-cityhash/issues
license: MIT
license-file: LICENSE.txt
author: Austin Seipp
maintainer: Austin Seipp
category: Codec
build-type: Simple
cabal-version: >=1.10
tested-with: GHC==7.0.4, GHC==7.2.1
extra-source-files:
cbits/city.cc, cbits/city.h, cbits/config.h, cbits/citycrc.h,
cbits/hs_city.cc, cbits/hs_city.h,
README.md, tests/Properties.hs
source-repository head
type: git
location: https://github.com/thoughtpolice/hs-cityhash.git
flag sse42
default: False
library
exposed-modules: Data.Digest.CityHash
build-depends:
base >= 3 && < 5,
bytestring >= 0.9,
largeword >= 1.0
c-sources: cbits/city.cc, cbits/hs_city.cc
include-dirs: cbits
extra-libraries: stdc++
if flag(sse42)
cc-options: -D__SSE4_2__ -msse4.2
cc-options: -O3
ghc-options: -Wall -O2 -fwarn-tabs
default-language: Haskell98
test-suite properties
hs-source-dirs: tests
main-is: Properties.hs
type: exitcode-stdio-1.0
build-depends:
base >= 3 && < 5,
bytestring >= 0.9,
largeword >= 1.0,
QuickCheck >= 2.4,
test-framework >= 0.5,
test-framework-quickcheck2 >= 0.2,
cityhash
ghc-options: -fno-cse -fno-warn-orphans
default-language: Haskell98