From 1e5d2641fe31bad543065fdf82887614ceb3b3ad Mon Sep 17 00:00:00 2001 From: n-peugnet Date: Tue, 7 Sep 2021 14:58:48 +0200 Subject: udpate todo list --- TODO.md | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) (limited to 'TODO.md') diff --git a/TODO.md b/TODO.md index e7e1976..518ce65 100644 --- a/TODO.md +++ b/TODO.md @@ -13,10 +13,25 @@ priority 1 store in sketchMap ``` - [ ] read from repo - - [ ] store recipe - - [ ] load recipe + - [x] store recipe + - [x] load recipe - [ ] read chunks in-order into a stream + - [ ] read individual files - [ ] properly store informations to be DNA encoded + - [ ] tar source to keep files metadata ? + - [ ] store chunks compressed + - [ ] compress before storing + - [ ] uncompress before loading + - [ ] store compressed chunks into tracks ok trackSize (1024o) +- [ ] add chunk cache that would look like this: + ```go + type ChunkCache map[ChunkId][]byte // Do we really want to only keep the chunk content ? + + type Cache interface { + Get(id ChunkId) Chunk + Set(id ChunkId, Chunk) + } + ``` priority 2 ---------- -- cgit v1.2.3