Find start position in large files via binary search

This commit is contained in:
Dominik Werder
2021-07-30 22:14:07 +02:00
parent 002139bfae
commit 5e624bb2ca
9 changed files with 318 additions and 33 deletions
+1 -1
View File
@@ -138,7 +138,7 @@ impl CacheFileDesc {
let hc = self.hash_channel();
node_config
.node
.data_base_path
.cache_base_path
.join("cache")
.join(&hc[0..3])
.join(&hc[3..6])