An open API service providing repository metadata for many open source software ecosystems.

Package Usage: go: github.com/google/btree

Package btree implements in-memory B-Trees of arbitrary degree. btree implements an in-memory B-Tree for use as an ordered data structure. It is not meant for persistent storage solutions. It has a flatter structure than an equivalent red-black or other binary tree, which in some cases yields better memory usage and/or performance. See some discussion on the matter here: Note, though, that this project is in no way related to the C++ B-Tree implementation written about there. Within this tree, each node contains a slice of items and a (possibly nil) slice of children. For basic numeric values or raw structs, this can cause efficiency differences when compared to equivalent C++ template code that stores values in arrays within the node: These issues don't tend to matter, though, when working with strings or other heap-allocated structures, since C++-equivalent structures also must store pointers and also distribute their values across the heap. This implementation is designed to be a drop-in replacement to gollrb.LLRB trees, (http://github.com/petar/gollrb), an excellent and probably the most widely used ordered tree implementation in the Go ecosystem currently. Its functions, therefore, exactly mirror those of llrb.LLRB where possible. Unlike gollrb, though, we currently don't support storing multiple equivalent values. There are two implementations; those suffixed with 'G' are generics, usable for any type, and require a passed-in "less" function to define their ordering. Those without this prefix are specific to the 'Item' interface, and use its 'Less' function for ordering.
6 versions
Latest release: almost 3 years ago
19,921 dependent packages

View more package details: https://packages.ecosystem.code.gouv.fr/registries/proxy.golang.org/packages/github.com/google/btree

Dependent Repos 27

SocialGouv/rollout-status Fork of clusterise/rollout-status
Alternative to kubectl rollout status

Size: 3.95 MB - Last synced: 6 days ago - Pushed: 3 months ago

ANSSI-FR/ultrablue
User-friendly Lightweight TPM Remote Attestation over Bluetooth

Size: 3.87 MB - Last synced: about 2 hours ago - Pushed: over 2 years ago

InseeFrLab/gonyxia-api

Size: 98.6 KB - Last synced: 7 days ago - Pushed: 7 days ago

InseeFrLab/onyxia-cli
WIP

Size: 53.7 KB - Last synced: 7 days ago - Pushed: 8 days ago

InseeFrLab/onyxia-onboarding
Onboarding for the Onyxia datalab

Size: 68.4 KB - Last synced: 7 days ago - Pushed: over 1 year ago

InseeFrLab/onyxia-onboarding-operator
An operator for onyxia's onboarding tasks

Size: 71.3 KB - Last synced: 7 days ago - Pushed: over 1 year ago

InseeFrLab/utils
A collection of scripts that may have been used at some point :)

Size: 41 KB - Last synced: 7 days ago - Pushed: over 1 year ago

SocialGouv/secretgen-controller Fork of carvel-dev/secretgen-controller
secretgen-controller provides CRDs to specify what secrets need to be on Kubernetes cluster (to be generated or not)

Size: 30.4 MB - Last synced: 6 days ago - Pushed: about 1 year ago

CEREMA/k3s-snapshots

Size: 6.12 MB - Last synced: 3 days ago - Pushed: about 3 years ago

CEREMA/k3-utils

Size: 6.15 MB - Last synced: 3 days ago - Pushed: almost 3 years ago