summaryrefslogtreecommitdiff
path: root/match_tpl.h
AgeCommit message (Collapse)Author
2021-01-28Store result of early exit trigger at the top of longest_match.Nathan Moinvaziri
2020-08-31longest_match optimizationHans Kristian Rosbach
2020-08-31Fix numerous sign-conversion warnings in compare256/compare258 andHans Kristian Rosbach
longest_match related code.
2020-08-31Minor comments/whitespace cleanupHans Kristian Rosbach
2020-08-31Rename ZLIB_INTERNAL to Z_INTERNAL for consistency.Nathan Moinvaziri
2020-08-31Rename ZLIB_REGISTER to Z_REGISTER for consistency.Nathan Moinvaziri
2020-08-23Replace hash_bits, hash_size and hash_mask with defines.Hans Kristian Rosbach
2020-08-23Precalculate match+offset pointer similar to fast-zlib.Nathan Moinvaziri
2020-08-23Check for match length exceeding lookahead each time a new best match is ↵Nathan Moinvaziri
found. This reduces some code complexity in GOTO_NEXT_CHAIN by removing the need for RETURN_BEST_LEN.
2020-08-23Use unaligned 32-bit and 64-bit compare based on best match length when ↵Nathan Moinvaziri
searching for matches. Move TRIGGER_LEVEL to match_tpl.h since it is only used in longest match. Use early return inside match loops instead of cont variable. Added back two variable check for platforms that don't supported unaligned access.
2020-08-14Fixed possible loss of data warning in LONGEST_MATCH.Nathan Moinvaziri
match_tpl.h(69,64): warning C4244: '=': conversion from 'unsigned int' to 'Pos', possible loss of data
2020-08-02Fixed extra symbols added to ABI when zlib-compat specified.Nathan Moinvaziri
2020-06-28Added ZLIB_REGISTER to disable register keyword for C++.Nathan Moinvaziri
Co-authored-by: pps83 <pps83@users.noreply.github.com>
2020-05-30Remove IPos typedef which also helps to reduce casting warnings.Nathan Moinvaziri
2020-05-25Rename match_p.h to match_tpl.h since it has been converted to a template ↵Nathan Moinvaziri
header file.