{"id":16442987,"url":"https://github.com/skyzh/bplustree","last_synced_at":"2025-10-27T03:31:32.283Z","repository":{"id":85472337,"uuid":"188359131","full_name":"skyzh/BPlusTree","owner":"skyzh","description":"🌲 Fully unit-tested B+ tree with basic paging implemented in C++","archived":false,"fork":false,"pushed_at":"2019-07-08T14:54:11.000Z","size":354,"stargazers_count":12,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-01T01:51:17.767Z","etag":null,"topics":["bplus-tree","bplustree","clion","cmake","cpp"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/skyzh.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}},"created_at":"2019-05-24T05:40:25.000Z","updated_at":"2024-05-31T06:24:22.000Z","dependencies_parsed_at":"2023-03-13T05:25:43.791Z","dependency_job_id":null,"html_url":"https://github.com/skyzh/BPlusTree","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skyzh%2FBPlusTree","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skyzh%2FBPlusTree/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skyzh%2FBPlusTree/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skyzh%2FBPlusTree/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/skyzh","download_url":"https://codeload.github.com/skyzh/BPlusTree/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238431590,"owners_count":19471419,"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":["bplus-tree","bplustree","clion","cmake","cpp"],"created_at":"2024-10-11T09:19:12.445Z","updated_at":"2025-10-27T03:31:27.010Z","avatar_url":"https://github.com/skyzh.png","language":"C++","readme":"# BPlusTree\n\n[![Build Status](https://travis-ci.com/SkyZH/bplustree.svg?token=szB6fz2m5vb2KyfAiZ3B\u0026branch=master)](https://travis-ci.com/SkyZH/bplustree)\n\nA simple B+ tree implemented in cpp. Fully unit-tested.\n\n## Implementations\n\n`BTree.cpp` is automatically generated with source file from `src/` folder.\nFor original implementation, you should refer to `src/`.\n\nContainer: some basic containers implementation including `Vector` and `Set`.\n\nLRU: least recently used cache, eliminating memory usage when processing huge chunks.\n\nPersistence: manage so-called 'pages', which store BTree data.\n\nIterator: B+Tree iterators\n\nPartially ported to upstream https://github.com/peterzheng98/CS158-DS_Project\n\n## Limitations\n\nNumber of pages in memory must be larger than those required for a single search, because page swapping is done after one operation.\n\n## Todo\n\n- [x] Reduce overhead in serialize and deserialize by passing istream as argument\n- [x] 4k align\n- [x] Reduce page offload overhead by introducing read-only page request\n- [ ] Use HashMap to store pages in memory to store larger dataset.\n- [ ] Implement copy constructor and assign\n- [x] Implement iterator and const iterator\n- [x] Reuse deleted pages\n- [ ] Port to upstream: size, empty, iterator, return value of query and insert.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fskyzh%2Fbplustree","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fskyzh%2Fbplustree","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fskyzh%2Fbplustree/lists"}