Cache unpacked blocks in memory
DanEngelbrecht opened this issue · comments
Currently if the same block is used multiple times in a large file we unpack it several times - once per use.
We do have the information needed to know how many times each block is used and could add a "retain"-counter for each block so when it is fetched we don't throw it away until it is release the expected number of times.
Shared ref blocks works better and is simpler. Already implemented.