aboutsummaryrefslogtreecommitdiff
path: root/TODO.md
diff options
context:
space:
mode:
authorn-peugnet <n.peugnet@free.fr>2021-09-08 19:20:07 +0200
committern-peugnet <n.peugnet@free.fr>2021-09-08 19:20:07 +0200
commitf061a7031181ef53d034c46b696156c143451cce (patch)
treea9d70773e06e46cc313f92fa000aca1d7471f817 /TODO.md
parent66cb179e0c751c081fbb9ec769a409a7a8115459 (diff)
downloaddna-backup-f061a7031181ef53d034c46b696156c143451cce.tar.gz
dna-backup-f061a7031181ef53d034c46b696156c143451cce.zip
start using chunk cache
Diffstat (limited to 'TODO.md')
-rw-r--r--TODO.md10
1 files changed, 1 insertions, 9 deletions
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
----------