Skip to content
This repository was archived by the owner on Dec 17, 2025. It is now read-only.
surrealdbPublic archive

About

A binary time series list implementation for Go

Topics

Resources

Stars

5 stars

Watchers

4 watching

Forks

Latest commit

 

History

44 Commits

Folders and files

Repository files navigation

blist

Blist is an in-memory time series binary list package for Golang.

Features

  • In-memory binary list
  • Store values by version number
  • Delete values by version number
  • Find the initial and the latest version
  • Ability to insert items at any position in the list
  • Find exact versions or seek to the closest version
  • Select items by version number or retrieve latest value
  • Sams efficiency as a btree when seeking for a specific version: O(log n) worst case
  • Not as efficient as a tlist when majority of selects are for the initial or latest version: O(log n) worst case

Installation

go get github.com/surrealdb/blist

About

A binary time series list implementation for Go

Topics

Resources

Stars

5 stars

Watchers

4 watching

Forks

Releases

Packages

Contributors

Languages