aiidateam / disk-objectstore

An implementation of an efficient "object store" (actually, a key-value store) writing files on disk and not requiring a running server
https://disk-objectstore.readthedocs.io
MIT License
15 stars 8 forks source link

Avoid to seek back to zero for compressed streams when seeking into a later position #81

Closed giovannipizzi closed 4 years ago

giovannipizzi commented 4 years ago

Now we always seek back to zero, but this is not needed if the target is larger than the tell() position

giovannipizzi commented 4 years ago

This is a simple fix, while #59 aims at fixing it also for backwards seeks