matbech / zlib

Drop in replacement for zlib with optimizations from various sources

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

zlib

Drop in replacement for zlib 1.2.11 with optimizations from various sources.

This fork is based on the official zlib repository: https://github.com/madler/zlib

3rd Party Patches

Additional changes

  • Support and optimizations for MSVC15 compiler
    Support for _M_ARM64
    Use __forceinline

  • Use tzcnt instead of bsf
    This improves performance for AMD CPUs

  • Implementation optimized for modern CPUs (Intel Nehalem)
    Removed alignment loop in crc32
    Adds temporary in crc32_little calcuation
    Less manual unrolling

  • Others
    Optimized insert_string loop

Performance

The performance results and pre-built binaries can be found here: https://github.com/matbech/zlib-perf

About

Drop in replacement for zlib with optimizations from various sources

License:zlib License


Languages

Language:C 100.0%