This commit is contained in:
Alex Sharov 2022-08-22 15:56:18 +07:00 committed by GitHub
parent eab2010195
commit c7cf5b6530
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 0 additions and 6 deletions

View File

@ -247,9 +247,6 @@ func NewDecompressor(compressedFile string) (*Decompressor, error) {
i += uint64(n)
poss = append(poss, pos)
}
if posMaxDepth > 31 {
fmt.Printf("alex: %d\n", posMaxDepth)
}
if dictSize > 0 {
var bitLen int

View File

@ -600,7 +600,6 @@ type HistoryContext struct {
}
func (h *History) MakeContext() *HistoryContext {
fmt.Printf("a: %d-%d\n", h.InvertedIndex.files.Len(), h.files.Len())
var hc = HistoryContext{h: h}
hc.indexFiles = btree.NewG[*ctxItem](32, ctxItemLess)
h.InvertedIndex.files.Ascend(func(item *filesItem) bool {

View File

@ -287,8 +287,6 @@ func (hc *HistoryContext) iterateHistoryBeforeTxNum(fromKey, toKey []byte, txNum
}
func (hc *HistoryContext) Iterate(txNumFrom, txNumTo uint64, f func(txNum uint64, k, v []byte) error) {
fmt.Printf("alex11: %d-%d\n", txNumFrom, txNumTo)
fmt.Printf("alex12: %d\n", hc.historyFiles.Len())
hc.historyFiles.Ascend(func(item *ctxItem) bool {
if item.endTxNum < txNumFrom {
return true