summaryrefslogtreecommitdiffstats
path: root/pszip.h (unfollow)
AgeCommit message (Collapse)AuthorFilesLines
2021-09-23Refactor bigint functions and add remaining helpersMalfurious1-5/+0
A second variant of the mpz-based iterator is added, and both functions are moved into a new 'mpz' module, removing 'iterations' and the common pszip.h header. These iterators have been updated to have all (de)allocation performed externally as to reduce overhead / boost performance. Related helper functions have also been added to this module. Signed-off-by: Malfurious <m@lfurio.us>
2021-08-28Add new C bit iteratorMalfurious1-0/+5
This is an implementation of the linked hack for libgmp. An arithmetic-based solution seems ideal for performance. However, due to the potential size of our output (entire files), a big-integer library is needed for the base type. Signed-off-by: Malfurious <m@lfurio.us>