EmilDohne / PhotoshopAPI

A modern and performant C++20 read/write parser of Photoshop Files (*.psd and *.psb) with fully fledged Python bindings hosted on PyPi
https://photoshopapi.readthedocs.io/en/latest/
BSD 3-Clause "New" or "Revised" License
94 stars 9 forks source link

Investigate switching out zlib-ng for libdeflate #67

Closed EmilDohne closed 3 months ago

EmilDohne commented 5 months ago

From the benchmarks presented here https://github.com/zlib-ng/zlib-ng/issues/1486 it appears that even for larger buffers libdeflate outperforms zlib-ng on both compression ratios as well as speed.

It does provide a different api than zlib-ng and also doesnt support streaming which are both not necessarily concerns for our use cases.