While doing some memory profiling on the store, it became clear that at the moment the metadata of the objects takes up much more space than it should. In particular, for each object:
- The object id (20 bytes) is stored three times
- The object checksum (8 bytes) is stored twice
We can therefore significantly reduce the metadata overhead with some refactoring.