summaryrefslogtreecommitdiff
path: root/insert_string_tpl.h
AgeCommit message (Collapse)Author
2020-11-02Fixed str uint32_t to uint16_t casting warnings in inflate_string_tpl.hNathan Moinvaziri
insert_string_tpl.h(50,26): warning C4244: '=': conversion from 'const uint32_t' to 'Pos', possible loss of data insert_string_tpl.h(67,1): warning C4244: 'initializing': conversion from 'const uint32_t' to 'Pos', possible loss of data
2020-08-31Rename ZLIB_INTERNAL to Z_INTERNAL for consistency.Nathan Moinvaziri
2020-08-23Replace hash_bits, hash_size and hash_mask with defines.Hans Kristian Rosbach
2020-08-21Remove return value from insert_string, since it is always ignored andHans Kristian Rosbach
quick_insert_string is being used instead.
2020-08-21Now that the check is out of the loop, it is also safe to remove itHans Kristian Rosbach
and unconditionally return head.
2020-08-21Minor optimization of insert_string template.Hans Kristian Rosbach
2020-08-20Store hash_mask in local variable for insert_string loop.Nathan Moinvaziri
2020-08-20Move zero check for insert_string count to fill_window since it is the only ↵Nathan Moinvaziri
place where count is ever passed as zero.
2020-08-14Fixed many possible loss of data warnings where insert_string and ↵Nathan Moinvaziri
quick_insert_string function used on Windows.
2020-05-30Change quick_insert_string memory access to be similar to insert_string.Nathan Moinvaziri
2020-05-30Remove extra lines between functions and their comments.Nathan Moinvaziri
2020-04-30Removed TRIGGER_LEVEL byte masking from INSERT_STRING and UPDATE_HASH due to ↵Nathan Moinvaziri
poor performance on levels 6 and 9 especially with optimized versions of UPDATE_HASH. From commit d306c75d3bb36cba73aec9b3b3ca378e31d1799e: .. we hash 4 bytes, instead of 3, for certain levels. This shortens the hash chains, and also improves the quality of each hash entry.
2020-04-30Standardize insert_string functionality across architectures. Added ↵Nathan Moinvaziri
unaligned conditionally compiled code for insert_string and quick_insert_string. Unify sse42 crc32 assembly between insert_string and quick_insert_string. Modified quick_insert_string to work across architectures.