Skip to content

Commit

Permalink
update libcityhash to 1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
nashby committed Oct 25, 2012
1 parent 4702591 commit 6b90a06
Show file tree
Hide file tree
Showing 5 changed files with 299 additions and 122 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
## dev ##

### enhancements
* update libcityhash to 1.1. See [NEWS](http://code.google.com/p/cityhash/source/browse/trunk/NEWS)
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ text = "test"
seed1 = 12345
seed2 = 54321

CityHash.hash64(text) # => 17703940110308125106
CityHash.hash64(text, seed1) # => 14900027982776226655
CityHash.hash64(text, seed1, seed2) # => 11136353178704814373
CityHash.hash128(text) # => 1800071687761605184910580728449884026697
CityHash.hash128(text, seed1) # => 6087407617808651818174120599816915369
CityHash.hash64(text) # => 8581389452482819506
CityHash.hash64(text, seed1) # => 9154302171269876511
CityHash.hash64(text, seed1, seed2) # => 4854399283587686019
CityHash.hash128(text) # => 124124989950401219618153994964897029896
CityHash.hash128(text, seed1) # => 101668641288246442316643001405184598611
```

### Contributing to cityhash
Expand Down
Loading

0 comments on commit 6b90a06

Please sign in to comment.