Documentation ¶
Overview ¶
Package fibvec provides a vector that can store unsigned integers by first converting them to their fibonacci encoded values before saving to a bit array. This can save memory space (especially for small values) in exchange for slower operations.
Index ¶
Constants ¶
View Source
const ( MaxValue = math.MaxInt64 - 3 MinValue = -MaxValue )
Maximum and minimum value that can be encoded.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Vector ¶
type Vector struct {
// contains filtered or unexported fields
}
Vector represents a container for unsigned integers.
Click to show internal directories.
Click to hide internal directories.