mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2025-01-01 00:31:21 +00:00
create huffman_codes.txt in tmpdir
This commit is contained in:
parent
8bc0f26a49
commit
a8c2481967
@ -595,7 +595,9 @@ func reducedict(logPrefix, tmpFilePath, dictPath, segmentFilePath, tmpDir string
|
||||
}
|
||||
}
|
||||
log.Info(fmt.Sprintf("[%s] Positional dictionary", logPrefix), "size", offset, "position cutoff", positionCutoff)
|
||||
df, err := os.Create("huffman_codes.txt")
|
||||
huffmanFile := filepath.Join(tmpDir, "huffman_codes.txt")
|
||||
defer os.Remove(huffmanFile)
|
||||
df, err := os.Create(huffmanFile)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user