xxHash
Ruby wrapper for xxHash
Install
gem install xxhash
Usage
require 'xxhash'
text = "test"
seed = 12345
XXhash.xxh32(text, seed) # => 3834992036
Supported Ruby versions
- MRI 1.9.3
- rbx-19mode
Note: It doesn't work on JRuby as it uses C extension.
Versioning
Version 0.1.0 is equal to r29
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request
Copyright
Copyright (c) 2012 Vasiliy Ermolovich. See LICENSE.txt for further details.