From 2f20511f442cecc764c817709c4358a149984766 Mon Sep 17 00:00:00 2001 From: n-peugnet Date: Wed, 15 Sep 2021 15:06:30 +0200 Subject: add storeWorker and use it to store chunk content and hashes --- TODO.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'TODO.md') 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. -- cgit v1.2.3