3 ms·
It depends on the data and application, I use a similar approach for compressing data that go in a couple of database/store. Having control on when and how to
by hexmiles 4y ago
It depends on the data and application,
I use a similar approach for compressing data that go in a couple of database/store.
Having control on when and how to compress data can significantly improve performance, also, it sometimes makes sense to keep compress data even in memory since it can allow you to make better use of it.
Also keep in mind that often you can't control the filesystem.
One use case for which I am working right now is that I have is storing highly repetitive data on a very slow flash storage, (that technically support compression, but it is slow and with not great compression ratio), I can significantly improve performance.
edit: grammar