awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
google avatar

google/btreeArchived

0
View on GitHub↗
4,166 stars·420 forks·Go·Apache-2.0·13 views

Btree

This is an in-memory B-Tree data structure implementation for Go. It provides a memory-resident collection that maintains sorted elements to enable efficient retrieval, modification, and the management of sorted key-value maps.

The project supports ordered mutable collections and sorted key-value stores, allowing for fast lookups, insertions, and deletions while preserving the sort order of keys.

It provides capabilities for range searching within sorted memory structures and maintains the organization of datasets through self-balancing node splitting and recursive binary search.

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 history

Star history chart for google/btreeStar history chart for google/btree

How this analysis was created: This summary and feature list are AI-generated from collected project material and can contain mistakes. Stars, license and language are imported from GitHub. Inclusion does not mean that we have tested or audited this project. Check the source documentation for any feature you depend on. Learn more on our About page.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Projects sharing features with Btree

These projects share indexed features with Btree. Shared tags can include platform or build tooling; verify the primary use case before treating a result as a replacement.
  • apple/swift-collectionsapple avatar

    apple/swift-collections

    4,438View on 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
    View on GitHub↗4,438
  • montagejs/collectionsmontagejs avatar

    montagejs/collections

    2,094View on 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
    View on GitHub↗2,094
  • cstack/db_tutorialcstack avatar

    cstack/db_tutorial

    10,464View on 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
    View on GitHub↗10,464
  • workiva/go-datastructuresWorkiva avatar

    Workiva/go-datastructures

    7,901View on 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
    View on GitHub↗7,901
Compare all 30 related projects→

Frequently asked questions

What does google/btree do?

This is an in-memory B-Tree data structure implementation for Go. It provides a memory-resident collection that maintains sorted elements to enable efficient retrieval, modification, and the management of sorted key-value maps.

What are the main features of google/btree?

The main features of google/btree are: 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.

Which projects share features with google/btree?

Projects with overlapping indexed features include: 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…