{"id":13411371,"url":"https://github.com/yourbasic/bit","last_synced_at":"2026-01-17T11:58:20.816Z","repository":{"id":50475982,"uuid":"90183913","full_name":"yourbasic/bit","owner":"yourbasic","description":"Bitset data structure","archived":false,"fork":false,"pushed_at":"2022-12-29T03:17:38.000Z","size":47,"stargazers_count":157,"open_issues_count":1,"forks_count":26,"subscribers_count":10,"default_branch":"master","last_synced_at":"2024-07-31T20:45:37.715Z","etag":null,"topics":["bit-array","bit-twiddling","bitset","data-structures","go"],"latest_commit_sha":null,"homepage":"https://yourbasic.org/algorithms/your-basic-int/#simple-sets","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yourbasic.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}},"created_at":"2017-05-03T19:05:35.000Z","updated_at":"2024-06-03T02:34:04.000Z","dependencies_parsed_at":"2023-01-31T08:01:21.820Z","dependency_job_id":null,"html_url":"https://github.com/yourbasic/bit","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/yourbasic/bit","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yourbasic%2Fbit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yourbasic%2Fbit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yourbasic%2Fbit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yourbasic%2Fbit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yourbasic","download_url":"https://codeload.github.com/yourbasic/bit/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yourbasic%2Fbit/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28508464,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-17T11:50:55.898Z","status":"ssl_error","status_checked_at":"2026-01-17T11:50:55.569Z","response_time":85,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["bit-array","bit-twiddling","bitset","data-structures","go"],"created_at":"2024-07-30T20:01:13.225Z","updated_at":"2026-01-17T11:58:20.768Z","avatar_url":"https://github.com/yourbasic.png","language":"Go","readme":"# Your basic bit [![GoDoc](https://godoc.org/github.com/yourbasic/bit?status.svg)][godoc-bit]\n\n### Set data structure for positive numbers\n\nA bit array, or bit set, is an efficient set data structure.\nIt consists of an array that compactly stores bits and it uses\nbit-level parallelism to perform operations quickly.\n\n![Venn diagram](venn.png)\n\n### Installation\n\nOnce you have [installed Go][golang-install], run this command\nto install the `bit` package:\n\n    go get github.com/yourbasic/bit\n    \n### Documentation\n\nThere is an online reference for the package at\n[godoc.org/github.com/yourbasic/bit][godoc-bit].\n\n### Roadmap\n\n* The API of this library is frozen.\n* Version numbers adhere to [semantic versioning][sv].\n\nThe only accepted reason to modify the API of this package is to\nhandle issues that can't be resolved in any other reasonable way.\n\nStefan Nilsson – [korthaj](https://github.com/korthaj)\n\n[godoc-bit]: https://godoc.org/github.com/yourbasic/bit\n[golang-install]: http://golang.org/doc/install.html\n[sv]: http://semver.org/\n","funding_links":[],"categories":["Data Structures and Algorithms","Data Structures","数据结构","数据结构与算法","數據結構","Data Integration Frameworks","Go","数据结构`go语言实现的数据结构与算法`","Uncategorized","Generators","\u003cspan id=\"数据结构-data-structures\"\u003e数据结构 Data Structures\u003c/span\u003e"],"sub_categories":["Bit-packing and Compression","Advanced Console UIs","Standard CLI","高级控制台界面","Bit-packing和压缩","高級控制台界面","标准 CLI","\u003cspan id=\"高级控制台用户界面-advanced-console-uis\"\u003e高级控制台用户界面 Advanced Console UIs\u003c/span\u003e"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyourbasic%2Fbit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyourbasic%2Fbit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyourbasic%2Fbit/lists"}