Documentation
¶
Index ¶
Constants ¶
View Source
const ( DefaultDataDirName = "data" DefaultMaxFileSize = uint64(4294967296) // 4 GB // DefaultComputeBatchSize value must be divisible by 8, to guarantee that writing to disk // and file truncating is byte-granular regardless of `BitsPerLabel` value. DefaultComputeBatchSize = 1 << 14 // 2KB per unit. Temporary value. DefaultBitsPerLabel = 8 DefaultLabelsPerUnit = 2048 DefaultMaxNumUnits = 10 DefaultMinNumUnits = 1 DefaultK1 = 2000 DefaultK2 = 1800 )
View Source
const ( MaxBitsPerLabel = 256 MinBitsPerLabel = 1 MinFileSize = 1024 )
View Source
const BestProviderID = -1
BestProviderID can be used for selecting the most performant provider based on a short benchmarking session.
Variables ¶
View Source
var DefaultDataDir string
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.