cityhash 0.3.0.0 → 0.3.0.1
raw patch · 4 files changed
+41/−8 lines, 4 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- README.md +39/−2
- cbits/city.h +0/−5
- cbits/hs_city.cc +1/−0
- cityhash.cabal +1/−1
README.md view
@@ -1,3 +1,40 @@-this is a haskell binding to google's cityhash functions.+# CityHash bindings for Haskell -see http://code.google.com/p/cityhash+[CityHash][] is a family of fash (non-cryptographic) hashing+functions, written by Google.++These are the awesome Haskell bindings.++# Installation++It's just a `cabal install` away:++```+$ cabal install cityhash+```++# Join in++File bugs in the GitHub [issue tracker][].++Master [git repository][gh]:++* `git clone https://github.com/thoughtpolice/hs-cityhash.git`++There's also a [BitBucket mirror][bb]:++* `git clone https://bitbucket.org/thoughtpolice/hs-cityhash.git`++# Authors++See [AUTHORS.txt](https://raw.github.com/thoughtpolice/hs-cityhash/master/AUTHORS.txt).++# License++MIT. See `LICENSE.txt` for terms of copyright and redistribution.++[CityHash]: http://cityhash.googlecode.com+[main page]: http://thoughtpolice.github.com/hs-cityhash+[issue tracker]: http://github.com/thoughtpolice/hs-cityhash/issues+[gh]: http://github.com/thoughtpolice/hs-cityhash+[bb]: http://bitbucket.org/thoughtpolice/hs-cityhash
cbits/city.h view
@@ -74,11 +74,6 @@ // hashed into the result. uint128 CityHash128WithSeed(const char *s, size_t len, uint128 seed); -uint128 CityHashCrc128(const char *s, size_t len);--uint128 CityHashCrc128WithSeed(const char *s, size_t len, uint128 seed);-- // Hash 128 input bits down to 64 bits of output. // This is intended to be a reasonably good hash function. inline uint64 Hash128to64(const uint128& x) {
cbits/hs_city.cc view
@@ -1,4 +1,5 @@ #include "city.h"+#include "citycrc.h" #include "hs_city.h" uint64_t hs_CityHash64(const char* buf, size_t len) {
cityhash.cabal view
@@ -1,5 +1,5 @@ name: cityhash-version: 0.3.0.0+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++.)