diff options
author | n-peugnet <n.peugnet@free.fr> | 2021-09-08 19:20:07 +0200 |
---|---|---|
committer | n-peugnet <n.peugnet@free.fr> | 2021-09-08 19:20:07 +0200 |
commit | f061a7031181ef53d034c46b696156c143451cce (patch) | |
tree | a9d70773e06e46cc313f92fa000aca1d7471f817 /TODO.md | |
parent | 66cb179e0c751c081fbb9ec769a409a7a8115459 (diff) | |
download | dna-backup-f061a7031181ef53d034c46b696156c143451cce.tar.gz dna-backup-f061a7031181ef53d034c46b696156c143451cce.zip |
start using chunk cache
Diffstat (limited to 'TODO.md')
-rw-r--r-- | TODO.md | 10 |
1 files changed, 1 insertions, 9 deletions
@@ -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 ---------- |