aboutsummaryrefslogtreecommitdiff
path: root/TODO.md
diff options
context:
space:
mode:
authorn-peugnet <n.peugnet@free.fr>2021-09-15 15:06:30 +0200
committern-peugnet <n.peugnet@free.fr>2021-09-15 15:06:30 +0200
commit2f20511f442cecc764c817709c4358a149984766 (patch)
tree332d84e7fd4da60ebc4ab994ccd23650540804d7 /TODO.md
parent8893edbf525c7daaaeb530e0964c06d5aa080c3d (diff)
downloaddna-backup-2f20511f442cecc764c817709c4358a149984766.tar.gz
dna-backup-2f20511f442cecc764c817709c4358a149984766.zip
add storeWorker and use it to store chunk content and hashes
Diffstat (limited to 'TODO.md')
-rw-r--r--TODO.md5
1 files changed, 4 insertions, 1 deletions
diff --git a/TODO.md b/TODO.md
index dc400a2..adf90a3 100644
--- a/TODO.md
+++ b/TODO.md
@@ -26,7 +26,10 @@ priority 2
- [ ] option to commit without deltas to save new base chunks
- [ ] custom binary marshal and unmarshal for chunks
- [x] use `loadChunkContent` in `loadChunks`
-- [ ] TODO: store hashes for faster maps rebuild
+- [x] save hashes for faster maps rebuild
+ - [x] store hashes for current version's chunks
+ - [x] load hashes for each version
+- [x] use store queue to asynchronously store `chunkData`
- [ ] try [Fdelta](https://github.com/amlwwalker/fdelta) and
[Xdelta](https://github.com/nine-lives-later/go-xdelta) instead of Bsdiff
- [ ] maybe use an LRU cache instead of the current FIFO one.