Win64 and win32 builds of mtpng are noticeably slower than Linux or macOS builds, more so than when running the Linux build on WSL.
It looks like it may be due to using zlib via the libz_sys crate, which compiles locally on Windows while picking up a highly-optimized system package on Linux. The local compile may not pick up the best optimization options, and definitely doesn't engage the specialized assembly functions that are available.
Win64 and win32 builds of mtpng are noticeably slower than Linux or macOS builds, more so than when running the Linux build on WSL.
It looks like it may be due to using zlib via the libz_sys crate, which compiles locally on Windows while picking up a highly-optimized system package on Linux. The local compile may not pick up the best optimization options, and definitely doesn't engage the specialized assembly functions that are available.