Skip to content

yourbasic/bit

Repository files navigation

Your basic bit GoDoc

Set data structure for positive numbers

A bit array, or bit set, is an efficient set data structure. It consists of an array that compactly stores bits and it uses bit-level parallelism to perform operations quickly.

Venn diagram

Installation

Once you have installed Go, run this command to install the bit package:

go get github.com/yourbasic/bit

Documentation

There is an online reference for the package at godoc.org/github.com/yourbasic/bit.

Roadmap

The only accepted reason to modify the API of this package is to handle issues that can't be resolved in any other reasonable way.

Stefan Nilsson – korthaj