summaryrefslogtreecommitdiff
path: root/crc32.h
Commit message (Collapse)AuthorAgeFilesLines
* Speed up software CRC-32 computation by a factor of 1.5 to 3.Mark Adler2018-12-261-728/+9441
| | | | | | | | Use the interleaved method of Kadatch and Jenkins in order to make use of pipelined instructions through multiple ALUs in a single core. This also speeds up and simplifies the combination of CRCs, and updates the functions to pre-calculate and use an operator for CRC combination.
* Add tables for crc32_combine(), to speed it up by a factor of 200.Mark Adler2018-11-031-1/+293
|
* Fix type mismatch between get_crc_table() and crc_table.Mark Adler2012-04-291-1/+1
| | | | | | | | | | | | | crc_table is made using a four-byte integer (when that can be determined). However get_crc_table() returned a pointer to an unsigned long, which could be eight bytes. This fixes that by creating a new z_crc_t type for the crc_table. This type is also used for the BYFOUR crc calculations that depend on a four-byte type. The four-byte type can now be determined by ./configure, which also solves a problem where ./configure --solo would never use BYFOUR. No the Z_U4 #define indicates that four- byte integer was found either by ./configure or by zconf.h.
* zlib 1.2.5.1v1.2.5.1Mark Adler2011-09-111-1/+1
|
* zlib 1.2.0v1.2.0Mark Adler2011-09-091-0/+441