Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
Accelerator
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
Uh oh!
There was an error while loading.
Please reload this page
.
zlib-ng
/
zlib-ng
Public
Uh oh!
There was an error while loading.
Please reload this page
.
Notifications
You must be signed in to change notification settings
Fork
340
Star
2.1k
Code
Issues
17
Pull requests
33
Discussions
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Projects
Wiki
Security and quality
Insights
Commits
Breadcrumbs
History for
zlib-ng
deflate_fast.c
on
develop
User selector
All users
All time
Commit history
Commits on Jul 15, 2026
Rename hash insert helpers by hash method
Show description for ee288f5
nmoinvaz
authored and
Dead2
committed
ee288f5
View commit details
Copy full SHA for ee288f5
View code at this point
Browse repository at this point
Commits on Jun 11, 2026
Add branch prediction hints to deflate strategy hot loops
Show description for ebc7d40
nmoinvaz
authored and
Dead2
committed
ebc7d40
View commit details
Copy full SHA for ebc7d40
View code at this point
Browse repository at this point
Commits on May 19, 2026
Pass local window variable to quit_insert_string and insert_string functions.
Dead2
committed
8ff44d4
View commit details
Copy full SHA for 8ff44d4
View code at this point
Browse repository at this point
Use local block_start and window variables in FLUSH_BLOCK.
Show description for caffccf
Dead2
committed
caffccf
View commit details
Copy full SHA for caffccf
View code at this point
Browse repository at this point
Commits on May 5, 2026
Deflate_fast does not have 'prev_length', fix comment.
Dead2
committed
d93086b
View commit details
Copy full SHA for d93086b
View code at this point
Browse repository at this point
Commits on Jan 23, 2026
Replace conditional byte swapping with portable host/LE conversion
nmoinvaz
authored and
Dead2
committed
a565cfa
View commit details
Copy full SHA for a565cfa
View code at this point
Browse repository at this point
Commits on Dec 22, 2025
Use uint32_t for hash_head in update_hash/insert_string
Dead2
committed
2f632a1
View commit details
Copy full SHA for 2f632a1
View code at this point
Browse repository at this point
Use uin32_t for Pos in match_tpl.h
Dead2
committed
60879ac
View commit details
Copy full SHA for 60879ac
View code at this point
Browse repository at this point
Use pointer arithmetic to access window in deflate_quick/deflate_fast
Dead2
committed
3d66bdc
View commit details
Copy full SHA for 3d66bdc
View code at this point
Browse repository at this point
- Add local window pointer to:
Show description for e701d80
Dead2
committed
e701d80
View commit details
Copy full SHA for e701d80
View code at this point
Browse repository at this point
Commits on Dec 7, 2025
Inline all uses of quick_insert_string*/quick_insert_value*.
Show description for bf95fa0
Dead2
committed
bf95fa0
View commit details
Copy full SHA for bf95fa0
View code at this point
Browse repository at this point
Commits on Dec 1, 2025
Add quick_insert_value for optimized hash insertion
Show description for 2c87035
nmoinvaz
authored and
Dead2
committed
2c87035
View commit details
Copy full SHA for 2c87035
View code at this point
Browse repository at this point
Commits on Nov 29, 2025
Minor cleanups of some variables in deflate functions
Dead2
committed
829a234
View commit details
Copy full SHA for 829a234
View code at this point
Browse repository at this point
Commits on Aug 16, 2024
Fixes build issues C4242, C4244 and C4334 caused by loss of data bugs due to data type mismatch in various files.
carlossanlop
authored and
Dead2
committed
3da40c2
View commit details
Copy full SHA for 3da40c2
View code at this point
Browse repository at this point
Commits on Mar 6, 2024
Explicitly indicate functions are conditionally dispatched
Show description for fe0a640
phprus
authored and
Dead2
committed
fe0a640
View commit details
Copy full SHA for fe0a640
View code at this point
Browse repository at this point
Commits on Feb 23, 2024
Move update_hash(), insert_string() and quick_insert_string() out of functable
Show description for 9953f12
Dead2
committed
9953f12
View commit details
Copy full SHA for 9953f12
View code at this point
Browse repository at this point
Commits on Feb 7, 2024
zlib 1.3.1
Show description for 4fe59ef
madler
authored and
Dead2
committed
4fe59ef
View commit details
Copy full SHA for 4fe59ef
View code at this point
Browse repository at this point
Commits on Jan 9, 2023
Prefix shared functions to prevent symbol conflict when linking native api against compat api.
nmoinvaz
authored and
Dead2
committed
b047c72
View commit details
Copy full SHA for b047c72
View code at this point
Browse repository at this point
Commits on Sep 22, 2021
Fixed trailing whitespaces and missing new lines.
nmoinvaz
authored and
Dead2
committed
f77af71
View commit details
Copy full SHA for f77af71
View code at this point
Browse repository at this point
Commits on Jun 13, 2021
Remove support for STD_MIN_MATCH != 3.
Show description for 94fd14e
Dead2
committed
94fd14e
View commit details
Copy full SHA for 94fd14e
View code at this point
Browse repository at this point
Minor formatting changes related to MIN_MATCH/MAX_MATCH
Dead2
committed
6bea850
View commit details
Copy full SHA for 6bea850
View code at this point
Browse repository at this point
Separate MIN_MATCH into STD_MIN_MATCH and WANT_MIN_MATCH
Show description for cf9127a
Dead2
committed
cf9127a
View commit details
Copy full SHA for cf9127a
View code at this point
Browse repository at this point
Commits on Mar 20, 2021
Restore hash_head != 0 checks
Show description for f426ac9
iii-i
authored and
Dead2
committed
f426ac9
View commit details
Copy full SHA for f426ac9
View code at this point
Browse repository at this point
Commits on Oct 18, 2020
Fixed unsigned integer overflow ASAN error when hash_head > s->strstart.
Show description for bc5915e
3 people
committed
bc5915e
View commit details
Copy full SHA for bc5915e
View code at this point
Browse repository at this point
Commits on Aug 31, 2020
Rename ZLIB_INTERNAL to Z_INTERNAL for consistency.
nmoinvaz
authored and
Dead2
committed
7cffba4
View commit details
Copy full SHA for 7cffba4
View code at this point
Browse repository at this point
Commits on Jul 3, 2020
Add likely/unlikely hinting to all deflate algorithms.
Dead2
committed
47b1208
View commit details
Copy full SHA for 47b1208
View code at this point
Browse repository at this point
Commits on Jun 27, 2020
Use local variable to store match_len in deflate_fast.
nmoinvaz
authored and
Dead2
committed
5bdf4b4
View commit details
Copy full SHA for 5bdf4b4
View code at this point
Browse repository at this point
Move check for hash_head != 0 directly after quick_insert_string.
nmoinvaz
authored and
Dead2
committed
4fbbf00
View commit details
Copy full SHA for 4fbbf00
View code at this point
Browse repository at this point
Commits on Jun 8, 2020
Move Tracevv statements when emitting literal to zng_tr_tally_lit.
nmoinvaz
authored and
Dead2
committed
36e0e0b
View commit details
Copy full SHA for 36e0e0b
View code at this point
Browse repository at this point
Commits on May 30, 2020
Remove IPos typedef which also helps to reduce casting warnings.
nmoinvaz
authored and
Dead2
committed
a0fa24f
View commit details
Copy full SHA for a0fa24f
View code at this point
Browse repository at this point
Commits on May 24, 2020
Simplify generic hash function using knuth's multiplicative hash.
nmoinvaz
authored and
Dead2
committed
0720768
View commit details
Copy full SHA for 0720768
View code at this point
Browse repository at this point
Converted compare258 to static and convert longest_match to template.
nmoinvaz
authored and
Dead2
committed
c97a965
View commit details
Copy full SHA for c97a965
View code at this point
Browse repository at this point
Commits on May 6, 2020
Change two NOT_TWEAK_COMPILER to check for MIN-MATCH!=3 instead.
Dead2
committed
06173b6
View commit details
Copy full SHA for 06173b6
View code at this point
Browse repository at this point
Remove several NOT_TWEAK_COMPILER checks and their legacy code.
Dead2
committed
6884f37
View commit details
Copy full SHA for 6884f37
View code at this point
Browse repository at this point
Commits on Apr 30, 2020
Standardize fill_window implementations and abstract out slide_hash_neon for ARM.
nmoinvaz
authored and
Dead2
committed
e09d131
View commit details
Copy full SHA for e09d131
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.