{"id":17179244,"url":"https://github.com/bytehamster/simpleribbon","last_synced_at":"2025-10-12T03:47:29.675Z","repository":{"id":110323261,"uuid":"553489508","full_name":"ByteHamster/SimpleRibbon","owner":"ByteHamster","description":"BuRR (bumped ribbon retrieval), but with CMake support and a non-header library to reduce compile times.","archived":false,"fork":false,"pushed_at":"2025-03-17T16:02:31.000Z","size":27,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-17T17:25:04.747Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ByteHamster.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":"2022-10-18T09:45:09.000Z","updated_at":"2025-03-17T16:02:35.000Z","dependencies_parsed_at":"2023-05-06T07:01:52.124Z","dependency_job_id":"82c8d365-3549-40d1-ba5c-f27a1754d913","html_url":"https://github.com/ByteHamster/SimpleRibbon","commit_stats":{"total_commits":10,"total_committers":1,"mean_commits":10.0,"dds":0.0,"last_synced_commit":"74331500c40108a777b708b9b5f393db61c83f95"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ByteHamster%2FSimpleRibbon","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ByteHamster%2FSimpleRibbon/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ByteHamster%2FSimpleRibbon/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ByteHamster%2FSimpleRibbon/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ByteHamster","download_url":"https://codeload.github.com/ByteHamster/SimpleRibbon/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245372216,"owners_count":20604488,"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":[],"created_at":"2024-10-15T00:25:19.247Z","updated_at":"2025-10-12T03:47:24.624Z","avatar_url":"https://github.com/ByteHamster.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SimpleRibbon\n\n[BuRR](https://github.com/lorenzhs/BuRR) (bumped ribbon retrieval), but with CMake support and a **non**-header-only library to reduce compile times.\n\nDue to this being a static library, only a small selection of configurations is available.\nYou can find these in the [source file](/src/SimpleRibbon.cpp).\n\n### Library usage\n\nClone this repository (with submodules) and add the following to your `CMakeLists.txt`.\n\n```cmake\nadd_subdirectory(path/to/SimpleRibbon)\ntarget_link_libraries(YourTarget PRIVATE SimpleRibbon)\n```\n\nYou can then use it as follows:\n\n```cpp\n#include \u003cSimpleRibbon.h\u003e\n\nstd::vector\u003cstd::pair\u003cuint64_t, uint8_t\u003e\u003e inputData = {\n    {12345, 1},\n    {67890, 0},\n    {54321, 1}\n};\n\nSimpleRibbon\u003c1\u003e ribbon(inputData);  // 1-bit BuRR\nuint64_t hashedKey = 12345;\nuint8_t result = ribbon.retrieve(hashedKey);\nstd::cout \u003c\u003c \"The result for \" \u003c\u003c hashedKey \u003c\u003c \" is \" \u003c\u003c unsigned(result) \u003c\u003c std::endl;\n```\n\n### Citation\n\nIf you use SimpleRibbon in the context of an academic publication, we ask that you please cite the BuRR paper:\n\n```bibtex\n@inproceedings{BuRR2022,\n    author={Peter C. Dillinger, Lorenz Hübschle-Schneider, Peter Sanders, and Stefan Walzer},\n    title={Fast Succinct Retrieval and Approximate Membership using Ribbon},\n    booktitle={20th International Symposium on Experimental Algorithms (SEA 2022)},\n    pages={4:1--4:20},\n    year={2022},\n    doi={10.4230/LIPIcs.SEA.2022.4}\n}\n```\n\n### License\n\nThis code is licensed under the [Apache 2.0 license](/LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbytehamster%2Fsimpleribbon","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbytehamster%2Fsimpleribbon","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbytehamster%2Fsimpleribbon/lists"}