Add option to input empty values at AddBatch

Add option to input empty values at AddBatch & different number of keys
& values.
This commit is contained in:
arnaucube
2021-07-02 19:08:46 +02:00
parent a8c7ea9808
commit df896f6e96
3 changed files with 100 additions and 17 deletions

2
vt.go
View File

@@ -319,7 +319,7 @@ func (t *vt) computeHashes() ([][2][]byte, error) {
t.params.maxLevels, bucketVT.params, bucketPairs[cpu])
if err != nil {
// TODO WIP
panic("TODO" + err.Error())
panic("TODO: " + err.Error())
}
subRoots[cpu] = bucketVT.root