From f061a7031181ef53d034c46b696156c143451cce Mon Sep 17 00:00:00 2001 From: n-peugnet Date: Wed, 8 Sep 2021 19:20:07 +0200 Subject: start using chunk cache --- TODO.md | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'TODO.md') diff --git a/TODO.md b/TODO.md index 72301cf..b35bff4 100644 --- a/TODO.md +++ b/TODO.md @@ -23,15 +23,7 @@ priority 1 - [ ] compress before storing - [ ] uncompress before loading - [ ] store compressed chunks into tracks of 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) - } - ``` +- [x] add chunk cache... what was it for again ?? priority 2 ---------- -- cgit v1.2.3