Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/narimiran/sorta

SortedTables in Nim, based on B-Trees
https://github.com/narimiran/sorta

b-tree btree nim nim-lang sorted sorted-data sorted-dict sorted-dictionary sorted-map table

Last synced: about 2 months ago
JSON representation

SortedTables in Nim, based on B-Trees

Awesome Lists containing this project

README

        

# Sorted Tables

SortedTable implementation using [B-Tree](https://en.wikipedia.org/wiki/Btree)
as an internal data structure.

The BTree algorithm is based on:
* N. Wirth, J. Gutknecht:
Project Oberon, The Design of an Operating System and Compiler;
pages 174-190.

Public API tries to mimic API of Nim's built-in Tables as much as possible.
The ommission of `add` procedure is done on purpose.

## Installation

```
nimble install sorta
```

Required Nim version is at least 1.0.0.

## Usage

See the [documentation](https://narimiran.github.io/sorta).