-
Notifications
You must be signed in to change notification settings - Fork 11
Description
How hard would it be to support another compression library apart from zlib? Respectively, how much of the interface would actually be affected if support for "arbitrary" compression libraries was the goal?
The reason I am asking is because I have run some benchmarks using podio and EDM4hep and compared the default root backend with one based on sio. Specifically in the case of root, it seems that explicitly requesting zlib to compress leads to significantly worse write times, compared to the default that uses LZ4. If you look here, you will see that with the default compression, writing is about 60 % faster than using zlib. Reading seems to be largely unaffected by this.
So potentially similar gains would be possible if the compression algorithm could be "replaced" in sio?