PathrockNetwork Gno Explorer
HomeBlocksTransactionsTokensRealmsPackagesValidatorsAnalytics

PathrockNetwork Gno Explorer — an independent explorer for Gno.land Mainnet (gnoland-1), operated by PathrockNetwork. Not an official Gno.land service.

gnowebarchive RPC

gno.land/p/nt/bptree/v0

Package
Open in gnoweb ↗

Overview

Kind
Pure package
Name
v0
Namespace
nt / bptree
Files
8 (README)(gnomod.toml)
Exported functions
n/a — not supported for pure packages by the node (vm/qfuncs)
Module
gno.land/p/nt/bptree/v0
gno
0.9

Files (8)

  • README.mdmarkdown
  • gnomod.tomltoml
  • doc.gnogno
  • node.gnogno
  • tree.gnogno
  • example_test.gnogno
  • tree_test.gnogno
  • PLAN.mdmarkdown
  • doc.gnogno
    1// Package bptree provides a mutable B+ tree implementation for storing2// key-value data in Gno realms. It implements the same ITree interface3// as the avl package but uses a B+ tree internally for better cache4// locality and fewer pointer dereferences per operation.5//6// The fanout (maximum number of children per inner node, and maximum7// number of entries per leaf node) is configurable:8//9//	tree := bptree.NewBPTree32()    // fanout 3210//	tree := bptree.NewBPTreeN(64)   // fanout 6411//12// The zero value is usable as an empty tree with fanout 32:13//14//	var tree bptree.BPTree15//	tree.Set("key", "value")16package bptree17

    Functions

    not supported for pure packages by the node (vm/qfuncs)

    Signatures reconstructed verbatim from vm/qfuncs — interface params keep their inline definitions.