Documentation
¶
Overview ¶
Copyright 2022 Molecula Corp. (DBA FeatureBase). SPDX-License-Identifier: Apache-2.0
Index ¶
Constants ¶
View Source
const Exponent = 20
Exponent controls the size of each shard
# Warnings - changing this value WILL corrupt any data sets created with a different value - both server and client must be compiled with the same Exponent
Variables ¶
This section is empty.
Functions ¶
func FindNextShard ¶
FindNextShard returns the index of the first item which is not in the same shard as i. The index it returns may be equal to the length of the haystack, indicatincg that the rest of the list is in the same shard.
func FindShards ¶
FindShards finds the shards in a given haystack
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.