{"id":16747710,"url":"https://github.com/bryanp/b3bm","last_synced_at":"2025-03-16T03:10:12.079Z","repository":{"id":53974912,"uuid":"346086683","full_name":"bryanp/b3bm","owner":"bryanp","description":"Base62 for Ruby","archived":false,"fork":false,"pushed_at":"2022-11-09T01:01:57.000Z","size":20,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-14T23:35:52.053Z","etag":null,"topics":["base62","ruby"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bryanp.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-03-09T17:21:51.000Z","updated_at":"2022-11-09T01:43:30.000Z","dependencies_parsed_at":"2023-01-21T13:46:00.645Z","dependency_job_id":null,"html_url":"https://github.com/bryanp/b3bm","commit_stats":null,"previous_names":["metabahn/b3bm"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bryanp%2Fb3bm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bryanp%2Fb3bm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bryanp%2Fb3bm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bryanp%2Fb3bm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bryanp","download_url":"https://codeload.github.com/bryanp/b3bm/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243818205,"owners_count":20352629,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["base62","ruby"],"created_at":"2024-10-13T02:10:43.745Z","updated_at":"2025-03-16T03:10:12.062Z","avatar_url":"https://github.com/bryanp.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# b3bm\n\nBase62 for Ruby.\n\nThis library offers Base62 encoding/decoding using a methodology that is generally compatible with encodings from other\necosystems. Unfortunately the approach is very inefficient. Just how inefficient is it? Well, here's a comparison\nbetween `b3bm`, `base_x`, and Ruby's url-safe Base64 encoder:\n\n```\n$ bundle exec ruby benchmarks/decode.rb\nWarming up --------------------------------------\n                b3bm   105.000  i/100ms\n              base_x    97.000  i/100ms\n              base64    40.921k i/100ms\nCalculating -------------------------------------\n                b3bm      1.079k (± 6.8%) i/s -      5.460k in   5.089545s\n              base_x    951.151  (± 4.9%) i/s -      4.753k in   5.010191s\n              base64    372.882k (±11.9%) i/s -      1.841M in   5.016939s\n\nComparison:\n              base64:   372881.6 i/s\n                b3bm:     1078.9 i/s - 345.61x  (± 0.00) slower\n              base_x:      951.2 i/s - 392.03x  (± 0.00) slower\n```\n\nUse [`b3e`](https://github.com/bryanp/b3e) if you care about performance more than portability.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbryanp%2Fb3bm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbryanp%2Fb3bm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbryanp%2Fb3bm/lists"}