https://github.com/funny-falcon/murmurhash3-ruby
Ruby implementation of noncriptographic hash Murmur3 (both native and pure ruby)
https://github.com/funny-falcon/murmurhash3-ruby
Last synced: about 22 hours ago
JSON representation
Repository metadata
Ruby implementation of noncriptographic hash Murmur3 (both native and pure ruby)
- Host: GitHub
- URL: https://github.com/funny-falcon/murmurhash3-ruby
- Owner: funny-falcon
- License: mit
- Created: 2012-08-02T11:51:18.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2023-01-05T20:10:39.000Z (about 3 years ago)
- Last Synced: 2026-02-13T18:50:39.528Z (18 days ago)
- Language: Java
- Size: 28.3 KB
- Stars: 84
- Watchers: 1
- Forks: 14
- Open Issues: 2
- Releases: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
README.md
Murmurhash3
This is an implementation of MurmurHash3 -
noncriptographic hash function.
It includes x86_32bit variant and x64_128bit variant. x86_128bit variant is ommited.
It exposes finalization mix functions as variant of superfast integer hashing.
Installation
Add this line to your application's Gemfile:
gem 'murmurhash3'
And then execute:
$ bundle
Or install it yourself as:
$ gem install murmurhash3
Usage
require 'murmurhash3'
MurmurHash3::V32.str_digest(some_string, seed)
MurmurHash3::V32.str_hexdigest(some_string, seed)
MurmurHash3::V32.str_base64digest(some_string, seed)
MurmurHash3::V32.fmix(some_32bit_integer)
MurmurHash3::V32.str_hash(some_string)
MurmurHash3::V32.str_hash(some_string, seed)
MurmurHash3::V32.int32_hash(some_32bit_integer)
MurmurHash3::V32.int32_hash(some_32bit_integer, seed)
MurmurHash3::V32.int64_hash(some_64bit_integer)
MurmurHash3::V32.int64_hash(some_64bit_integer, seed)
class SomeClass
include MurmurHash3::V32
def func
murmur3_32_str_digest(some_string)
murmur3_32_str_hexdigest(some_string)
murmur3_32_str_base64digest(some_string)
murmur3_32_fmix(some_32bit_integer)
murmur3_32_str_hash(some_string)
murmur3_32_str_hash(some_string, seed)
murmur3_32_int32_hash(some_32bit_integer)
murmur3_32_int32_hash(some_32bit_integer, seed)
murmur3_32_int64_hash(some_64bit_integer)
murmur3_32_int64_hash(some_64bit_integer, seed)
end
end
MurmurHash3::V128.str_digest(some_string, seed) # => String
MurmurHash3::V128.str_hexdigest(some_string, seed) # => String
MurmurHash3::V128.str_base64digest(some_string, seed) # => String
MurmurHash3::V128.fmix(some_64bit_integer) # => int64
MurmurHash3::V128.str_hash(some_string) # => [int32_0, int32_1, int32_2, int32_3]
MurmurHash3::V128.str_hash(some_string, seed) # => [int32_0, int32_1, int32_2, int32_3]
MurmurHash3::V128.int32_hash(some_32bit_integer) # => [int32_0, int32_1, int32_2, int32_3]
MurmurHash3::V128.int32_hash(some_32bit_integer, seed) # => [int32_0, int32_1, int32_2, int32_3]
MurmurHash3::V128.int64_hash(some_64bit_integer) # => [int32_0, int32_1, int32_2, int32_3]
MurmurHash3::V128.int64_hash(some_64bit_integer, seed) # => [int32_0, int32_1, int32_2, int32_3]
class SomeClass
include MurmurHash3::V128
def func
murmur3_128_str_digest(some_string) # => String
murmur3_128_str_hexdigest(some_string) # => String
murmur3_128_str_base64digest(some_string) # => String
murmur3_128_fmix(some_64bit_integer) # => int64
murmur3_128_str_hash(some_string) # => [int32_0, int32_1, int32_2, int32_3]
murmur3_128_str_hash(some_string, seed) # => [int32_0, int32_1, int32_2, int32_3]
murmur3_128_int32_hash(some_32bit_integer) # => [int32_0, int32_1, int32_2, int32_3]
murmur3_128_int32_hash(some_32bit_integer, seed) # => [int32_0, int32_1, int32_2, int32_3]
murmur3_128_int64_hash(some_64bit_integer) # => [int32_0, int32_1, int32_2, int32_3]
murmur3_128_int64_hash(some_64bit_integer, seed) # => [int32_0, int32_1, int32_2, int32_3]
end
end
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Added some feature') - Push to the branch (
git push origin my-new-feature) - Create new Pull Request
Owner metadata
- Name: Sokolov Yura
- Login: funny-falcon
- Email:
- Kind: user
- Description:
- Website:
- Location: Moscow, Russia
- Twitter:
- Company:
- Icon url: https://avatars.githubusercontent.com/u/249427?v=4
- Repositories: 124
- Last ynced at: 2023-04-10T12:01:36.320Z
- Profile URL: https://github.com/funny-falcon
GitHub Events
Total
- Watch event: 1
Last Year
Committers metadata
Last synced: 2 days ago
Total Commits: 20
Total Committers: 8
Avg Commits per committer: 2.5
Development Distribution Score (DDS): 0.35
Commits in past year: 0
Committers in past year: 0
Avg Commits per committer in past year: 0.0
Development Distribution Score (DDS) in past year: 0.0
| Name | Commits | |
|---|---|---|
| Sokolov Yura 'funny-falcon | f****n@g****m | 13 |
| Schuyler Erle | s****r@n****t | 1 |
| Joao Duarte | j****e@g****m | 1 |
| Jason Karns | j****s@g****m | 1 |
| Jakub Jirutka | j****b@j****z | 1 |
| Anton Bogdanovich | b****h | 1 |
| Anatol | a****v@g****m | 1 |
| Aaron Parecki | a****n@p****m | 1 |
Committer domains:
- parecki.com: 1
- jirutka.cz: 1
- nocat.net: 1
Issue and Pull Request metadata
Last synced: 18 days ago
Total issues: 3
Total pull requests: 8
Average time to close issues: 2 days
Average time to close pull requests: 19 days
Total issue authors: 3
Total pull request authors: 7
Average comments per issue: 4.0
Average comments per pull request: 1.63
Merged pull request: 7
Bot issues: 0
Bot pull requests: 0
Past year issues: 0
Past year pull requests: 0
Past year average time to close issues: N/A
Past year average time to close pull requests: N/A
Past year issue authors: 0
Past year pull request authors: 0
Past year average comments per issue: 0
Past year average comments per pull request: 0
Past year merged pull request: 0
Past year bot issues: 0
Past year bot pull requests: 0
Top Issue Authors
- tmaier (1)
- andsel (1)
- seamusabshere (1)
Top Pull Request Authors
- anatol (2)
- jasonkarns (1)
- jsvd (1)
- jirutka (1)
- aaronpk (1)
- schuyler (1)
- bogdanovich (1)
Top Issue Labels
Top Pull Request Labels
Package metadata
- Total packages: 11
-
Total downloads:
- rubygems: 112,267,096 total
- Total docker downloads: 1,338,200,312
- Total dependent packages: 37 (may contain duplicates)
- Total dependent repositories: 1,143 (may contain duplicates)
- Total versions: 29
- Total maintainers: 1
gem.coop: murmurhash3
implementation of murmur3 hashing function
- Homepage: https://github.com/funny-falcon/murmurhash3-ruby
- Documentation: http://www.rubydoc.info/gems/murmurhash3/
- Licenses: MIT
- Latest release: 0.1.7 (published about 3 years ago)
- Last Synced: 2026-02-27T19:01:35.635Z (4 days ago)
- Versions: 10
- Dependent Packages: 0
- Dependent Repositories: 0
- Downloads: 56,133,548 Total
- Docker Downloads: 669,100,156
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 0.157%
- Downloads: 0.471%
- Maintainers (1)
ubuntu-22.04: ruby-murmurhash3
- Homepage: https://github.com/funny-falcon/murmurhash3-ruby
- Licenses: mit
- Latest release: 0.1.6-2build3 (published 18 days ago)
- Last Synced: 2026-02-13T13:21:09.583Z (18 days ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 0.791%
- Stargazers count: 1.508%
- Forks count: 1.657%
rubygems.org: murmurhash3
implementation of murmur3 hashing function
- Homepage: https://github.com/funny-falcon/murmurhash3-ruby
- Documentation: http://www.rubydoc.info/gems/murmurhash3/
- Licenses: MIT
- Latest release: 0.1.7 (published about 3 years ago)
- Last Synced: 2026-02-27T19:01:35.920Z (4 days ago)
- Versions: 10
- Dependent Packages: 37
- Dependent Repositories: 1,143
- Downloads: 56,133,548 Total
- Docker Downloads: 669,100,156
-
Rankings:
- Docker downloads count: 0.166%
- Downloads: 0.513%
- Dependent packages count: 0.67%
- Dependent repos count: 0.959%
- Average: 2.619%
- Stargazers count: 5.992%
- Forks count: 7.416%
- Maintainers (1)
ubuntu-20.04: ruby-murmurhash3
- Homepage: https://github.com/funny-falcon/murmurhash3-ruby
- Licenses:
- Latest release: 0.1.6-2build1 (published 18 days ago)
- Last Synced: 2026-02-13T07:18:12.541Z (18 days ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 100%
debian-11: ruby-murmurhash3
- Homepage: https://github.com/funny-falcon/murmurhash3-ruby
- Documentation: https://packages.debian.org/bullseye/ruby-murmurhash3
- Licenses:
- Latest release: 0.1.6-2 (published 21 days ago)
- Last Synced: 2026-02-13T08:22:48.763Z (18 days ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 100%
ubuntu-23.10: ruby-murmurhash3
- Homepage: https://github.com/funny-falcon/murmurhash3-ruby
- Licenses:
- Latest release: 0.1.6-2build5 (published 18 days ago)
- Last Synced: 2026-02-13T18:26:06.422Z (18 days ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 100%
ubuntu-23.04: ruby-murmurhash3
- Homepage: https://github.com/funny-falcon/murmurhash3-ruby
- Licenses:
- Latest release: 0.1.6-2build5 (published 21 days ago)
- Last Synced: 2026-02-11T06:44:27.214Z (21 days ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 100%
debian-13: ruby-murmurhash3
- Homepage: https://github.com/funny-falcon/murmurhash3-ruby
- Documentation: https://packages.debian.org/trixie/ruby-murmurhash3
- Licenses: mit
- Latest release: 0.1.6-2 (published 19 days ago)
- Last Synced: 2026-02-13T13:17:45.878Z (18 days ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 100%
debian-12: ruby-murmurhash3
- Homepage: https://github.com/funny-falcon/murmurhash3-ruby
- Documentation: https://packages.debian.org/bookworm/ruby-murmurhash3
- Licenses:
- Latest release: 0.1.6-2 (published 19 days ago)
- Last Synced: 2026-02-12T23:35:37.101Z (19 days ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
Score: 27.62894180998949