projekto icon indicating copy to clipboard operation
projekto copied to clipboard

Improve chunk cache system

Open afonsolage opened this issue 2 years ago • 0 comments

Actual chunk cache system just saves and load a bunch of small files on the disk. This is sub optimal and can be better.

Ideally there should be a cache radius, where all chunks inside that area, are loaded into memory and chunks outside are unloaded. Chunks loaded should still be compressed, to reduce memory footprint. When someone needs that chunk cache, it should decompress and use.

afonsolage avatar Aug 14 '22 11:08 afonsolage