bytebtree

package
v0.0.0-...-081c383 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 22, 2026 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Overview

Package bytebtree implements byteid.Index with a btree, which keeps the IDs in order.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(sliceLen int) byteid.Index

New fulfills byteid.IndexFactory. It returns a byteid.Index that stores the mapping from id to index in a btree using github.com/google/btree, so the IDs are kept in order. The IDs are stored, not copied, so an ID must not be modified after it is inserted.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址