{"id":15403658,"url":"https://github.com/ana06/ruby-tabulation","last_synced_at":"2026-03-01T12:02:29.999Z","repository":{"id":98170548,"uuid":"262835041","full_name":"Ana06/ruby-tabulation","owner":"Ana06","description":"Project in which I analyze if the Ruby Hashing algorithm could be improved using Tabulation Hashing","archived":false,"fork":false,"pushed_at":"2020-05-14T21:41:39.000Z","size":369,"stargazers_count":7,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-10-11T08:26:32.812Z","etag":null,"topics":["benchmarks","c","columbia-university","report","ruby","tabulation"],"latest_commit_sha":null,"homepage":"https://bugs.ruby-lang.org/issues/16851","language":"TeX","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Ana06.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-05-10T17:03:00.000Z","updated_at":"2025-09-25T14:02:25.000Z","dependencies_parsed_at":null,"dependency_job_id":"bde34f8c-d13e-4d42-b559-8bc23129dfd7","html_url":"https://github.com/Ana06/ruby-tabulation","commit_stats":{"total_commits":2,"total_committers":1,"mean_commits":2.0,"dds":0.0,"last_synced_commit":"192e74f84bf5c6a7045562785db2806f29113662"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Ana06/ruby-tabulation","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ana06%2Fruby-tabulation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ana06%2Fruby-tabulation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ana06%2Fruby-tabulation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ana06%2Fruby-tabulation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Ana06","download_url":"https://codeload.github.com/Ana06/ruby-tabulation/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ana06%2Fruby-tabulation/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29969243,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-01T11:43:06.159Z","status":"ssl_error","status_checked_at":"2026-03-01T11:43:03.887Z","response_time":124,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["benchmarks","c","columbia-university","report","ruby","tabulation"],"created_at":"2024-10-01T16:09:33.035Z","updated_at":"2026-03-01T12:02:29.951Z","avatar_url":"https://github.com/Ana06.png","language":"TeX","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ruby-tabulation\n\nAnalyze if the Ruby hashing algorithm could be improved using Tabulation Hashing.\nThis is a project for my [Advanced Algorithms course](http://www.cs.columbia.edu/~andoni/advancedS20/index.html) by [Alexandr Andoni](http://www.cs.columbia.edu/~andoni) at Columbia University.\n\nThe written C code for the project is in the [tabulation_project branch](https://github.com/Ana06/ruby/compare/master...Ana06:tabulation_project) of my fork of the Ruby project (MRI) in GitHub.\n\nRuby issue: https://bugs.ruby-lang.org/issues/16851\n\n## Results\n\n[benchmark_tabulation.rb](benchmark_tabulation.rb) benchmarks the insertion of 600000 elements (by hashing their 64 bits ids) in an empty hash 100 times.\nBelow are the times (in seconds) I got executing this code for different versions of the Ruby code:\n\n- master (without Simple Tabulation): 29.68\n- master with Linear Probing (without Simple Tabulation): 99.76\n- master with Quadratic Probing (without Simple Tabulation): 29.97\n- master with Simple Tabulation: 15.76\n- master with Linear Probing and Simple Tabulation: 24.23\n- master with Quadratic Probing and Simple Tabulation: 13.73\n\n`master` refers to ruby 2.8.0dev:\n(2020-05-07T16:22:38Z master 7ded8fd) [x86_64-linux].\nI tried with 8 x Intel i5-8265U.\n\nThis prove the potential of Simple Tabulation to improve current Ruby implementation.\nFor more details check the project report: [latex/RubyTabulation_Project.pdf](latex/RubyTabulation_Project.pdf).\n\n\n## License\n\nCode published under GNU GENERAL PUBLIC LICENSE v3 (see [LICENSE](LICENSE)).\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fana06%2Fruby-tabulation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fana06%2Fruby-tabulation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fana06%2Fruby-tabulation/lists"}