Skip to content
/ zlib Public

Drop in replacement for zlib with optimizations from various sources

License

Notifications You must be signed in to change notification settings

matbech/zlib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages