awesome-repositories.com
博客
MCP
awesome-repositories.com

通过 AI 驱动的搜索,发现最优秀的开源仓库。

探索精选搜索开源替代品自托管软件博客网站地图
项目关于排名机制媒体报道MCP 服务器
法律隐私政策服务条款
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
google avatar

google/btreeArchived

0
View on GitHub↗
4,166 星标·420 分支·Go·Apache-2.0·3 次浏览

Btree

这是一个用于 Go 的内存中 B-Tree 数据结构实现。它提供了一个驻留内存的集合,维护排序元素以实现高效的检索、修改以及排序键值映射的管理。

该项目支持有序可变集合和排序键值存储,允许在保持键排序顺序的同时进行快速查找、插入和删除。

它提供了在排序内存结构中进行范围搜索的功能,并通过自平衡节点分裂和递归二分搜索来维护数据集的组织。

Features

  • Sorted Key-Value Maps - A data structure for storing ordered pairs that enables range queries and fast key-based access.
  • In-Memory B-Trees - Provides a B-Tree implementation optimized for RAM-based storage for sorted data management.
  • Bisection-Based Range Retrieval - Enables efficient extraction of element subsets within a value range using binary search.
  • Ordered Collection Management - Manages a mutable collection of items in a sorted tree structure for efficient modification.
  • Ordered Map Data Access - Provides a BTreeMap-like interface for key-value pairs that preserves key order.
  • B-Tree - Implements a B-Tree structure to organize data and minimize search depth.
  • Node Splitting - Implements node splitting to maintain tree balance during the insertion of new elements.
  • Ordered Collections - Implements a memory-resident sequential data structure that keeps items sorted.
  • Sorted Mutable Collections - Maintains a collection of items that can be frequently added or removed while staying sorted.
  • Leaf-Level Data Storage - Keeps all actual data entries at the bottom level of the tree to ensure consistent lookup times.
  • In-Memory Pointer Links - Manages parent and child node relationships using memory addresses for fast traversal.
  • Interface-Based Sorting - Uses a custom comparison function via a standard interface to determine element order.
  • Standard Binary Searches - Employs a standard binary search algorithm to locate keys within individual tree nodes.
  • DevOps & Infrastructure - In-memory B-tree implementation for efficient data storage.
  • Data Structures - B-Tree implementation.

Star 历史

google/btree 的 Star 历史图表google/btree 的 Star 历史图表

AI 搜索

探索更多 awesome 仓库

用简单的语言描述您的需求 —— AI 将根据相关性为您从数千个精选开源项目中进行排序。

Start searching with AI

Btree 的开源替代方案

相似的开源项目,按与 Btree 的功能重合度排序。
  • apple/swift-collectionsapple 的头像

    apple/swift-collections

    4,438在 GitHub 上查看↗

    This library provides a collection of specialized data structures for the Swift language that extend the standard library with advanced container types. It includes implementations for double-ended queues using ring-buffers, priority queues based on min-max heaps, and memory-efficient bit-set and bit-array storage for boolean values. The project features ordered collections that maintain elements in sorted order via B-tree implementations, as well as persistent sets and dictionaries that use compressed prefix trees to share data between mutated copies. It also provides specialized containers

    Swiftcollectioncontainerdeque
    在 GitHub 上查看↗4,438
  • montagejs/collectionsmontagejs 的头像

    montagejs/collections

    2,094在 GitHub 上查看↗

    Collections is a JavaScript data structure library that provides unified interfaces for sets, maps, ordered sequences, and key-value storage. It includes capacity-bounded eviction mechanisms, categorical grouping, and set membership collections designed to organize and manage complex datasets through consistent traversal methods. The library offers advanced primitives such as circular ring buffers that automatically discard old entries upon reaching capacity limits, and comparator-driven sorted sequences maintained through binary search positioning. It supports persistent state snapshotting v

    JavaScript
    在 GitHub 上查看↗2,094
  • cstack/db_tutorialcstack 的头像

    cstack/db_tutorial

    10,464在 GitHub 上查看↗

    This project is an educational implementation of a relational database engine written in C. It functions as a SQLite clone, demonstrating the internal mechanics of a database system through a C-based systems project that focuses on manual memory management and file I/O. The engine is distinguished by its use of a bytecode virtual machine, which executes database operations by compiling SQL statements into low-level instructions. It utilizes a B-tree database engine to organize records in a balanced tree structure, ensuring efficient insertion, search, and range scanning. The system covers co

    Cdatabase
    在 GitHub 上查看↗10,464
  • workiva/go-datastructuresWorkiva 的头像

    Workiva/go-datastructures

    7,901在 GitHub 上查看↗

    go-datastructures is a collection of thread-safe and lock-free data structures designed for high-performance concurrent applications in Go. It provides a modular library of specialized algorithmic toolsets, including a lock-free collection library and an immutable data structure library. The project distinguishes itself through a suite of persistent AVL trees and hash array mapped tries that use branch-copying to preserve previous versions. It also implements non-blocking hash maps, queues, and tries that enable linearizable snapshots and concurrent updates without the use of mutual exclusion

    Go
    在 GitHub 上查看↗7,901
查看 Btree 的所有 30 个替代方案→

常见问题解答

google/btree 是做什么的?

这是一个用于 Go 的内存中 B-Tree 数据结构实现。它提供了一个驻留内存的集合,维护排序元素以实现高效的检索、修改以及排序键值映射的管理。

google/btree 的主要功能有哪些?

google/btree 的主要功能包括:Sorted Key-Value Maps, In-Memory B-Trees, Bisection-Based Range Retrieval, Ordered Collection Management, Ordered Map Data Access, B-Tree, Node Splitting, Ordered Collections。

google/btree 有哪些开源替代品?

google/btree 的开源替代品包括: apple/swift-collections — This library provides a collection of specialized data structures for the Swift language that extend the standard… montagejs/collections — Collections is a JavaScript data structure library that provides unified interfaces for sets, maps, ordered sequences,… cstack/db_tutorial — This project is an educational implementation of a relational database engine written in C. It functions as a SQLite… workiva/go-datastructures — go-datastructures is a collection of thread-safe and lock-free data structures designed for high-performance… level/levelup — Levelup is a sorted key-value storage system that saves and retrieves data using byte arrays as keys and values. It… level/level — Level is a database library that provides a unified interface for managing sorted key-value data. It functions as an…