neonrust / epm

Command-line TV episode calendar/manager/scheduler/tracker (EPisode Manager)
MIT License
0 stars 0 forks source link

Use libzstd/liblz4 instead of invoking an external binary #45

Closed neonrust closed 7 months ago

neonrust commented 7 months ago

Invoking an external binary if of course not ideal and entails latency and other overhead.

Both of these libraries have python integrations; zstd and lz4.

As always, should do some performance benchmarks.

I guess it could be possible to still use the external binaries as a fallback.

neonrust commented 7 months ago

After #44 is implemented, it might be desirable to find a better json package that supports reading from file object.

So far, it seems only rapidjson supports this.