Commit graph

612 commits

Author SHA1 Message Date
Con Kolivas fbcf0fcfd4 Delete now-unused zpipe code. 2012-03-16 23:04:20 +11:00
Con Kolivas 26433850b9 Implement virtual write support for bufWrite to speed up zpaq support and simplify the virtual read function for bufRead. 2012-03-16 23:00:29 +11:00
Con Kolivas 4d48717949 Add virtual read() support to the bufRead class to speed up encoding/decoding via the zpaq library. 2012-03-16 22:27:01 +11:00
Con Kolivas a55250cf16 Use libzpaq backend for decompression. 2012-03-16 14:14:22 +11:00
Con Kolivas f8d05b9a66 Move zpaq compression to new libzpaq library back end. 2012-03-16 14:04:16 +11:00
Con Kolivas 73df7ebcd3 Merge branch 'master' into zpaq 2012-03-16 09:53:27 +11:00
Con Kolivas dd89bdcf3e Add minimal libzpaq compilation support. 2012-03-16 08:59:04 +11:00
Con Kolivas 63229baed6 Move to libzpaq directory. 2012-03-15 22:38:58 +11:00
Con Kolivas 2f3f01958d Import libzapq files. 2012-03-15 22:37:46 +11:00
ckolivas 11f869dabe Fix Lrzip.h not being installed into include directory and make distcheck failing. 2012-03-15 11:16:57 +11:00
Con Kolivas 88e2f80736 Bump version number to 0.611. 2012-03-11 22:07:35 +11:00
Con Kolivas dd0438ec41 Update README. 2012-03-11 22:07:16 +11:00
Con Kolivas d7af8fa0e0 Update Changelogs for upcoming version 0.611. 2012-03-11 22:01:02 +11:00
Con Kolivas 19b0636459 Move the update counter to earlier in the hash_search so it still updates even when there are not matches. 2012-03-11 21:12:44 +11:00
Con Kolivas 704d7b5eb6 There is no point using a thread on the last checksum update, nor to add the value to cksum_limit. 2012-03-11 12:22:35 +11:00
Con Kolivas 5edf8471d1 Perform all checksumming in a separate thread to speed up the hash search in the rzip phase. 2012-03-11 11:51:36 +11:00
Con Kolivas f4165ec263 Further micro-optimise match_len. 2012-03-11 09:50:42 +11:00
Con Kolivas 261f2ff1e4 Optimise the hot function empty_hash even further. 2012-03-11 09:25:58 +11:00
Con Kolivas 2fada9fb76 Micro-optimise the hot next_tag function. 2012-03-11 02:17:26 +11:00
Con Kolivas c136424140 Micro-optimise the match_len function. 2012-03-11 01:56:40 +11:00
Con Kolivas ba2ebae392 Correct missing adjustment of hash entry. 2012-03-11 01:33:54 +11:00
Con Kolivas 0e593f7681 Pass one less variable to the get_sb function as an optimisation. 2012-03-11 01:04:44 +11:00
Con Kolivas 92c09a7588 Cache the hash_entry value passing one less variable to hash_empty as a micro-optimisation. 2012-03-11 00:52:38 +11:00
Con Kolivas f792f72aa5 Use ffsl for a faster lesser_bitness function. 2012-03-11 00:11:11 +11:00
Con Kolivas 84e42de8da Prevent lrzuntar from automatically overwriting existing directories without the -f option being specified. 2012-03-10 21:40:12 +11:00
Con Kolivas 14c3ce2ab4 Calling lrzip via lrzcat would fail as the proper parameters weren't being passed to the control structure. Fix. 2012-03-10 20:47:57 +11:00
Con Kolivas c286cccfa6 Bump version number to 0.610 2012-03-08 14:15:28 +11:00
Con Kolivas 11f93c058e Further Changelog updates. 2012-03-08 14:15:00 +11:00
Con Kolivas d19dfdf7c6 Make the parameters passed in lrztar an array so as to allow directory names with spaces in them to work. 2012-03-08 14:11:04 +11:00
Con Kolivas e915595bef Update changelogs. 2012-03-08 09:59:46 +11:00
Con Kolivas cf8567e314 Use as much of the low buffer as possible with a single memcopy before going fine grained byte by byte. 2012-03-08 09:01:31 +11:00
Con Kolivas 30bfe06f1a Preserve the compressed time on decompression where suitable. 2012-03-08 00:15:58 +11:00
Con Kolivas cea59cd568 No need for all those backspaces on decompression progress. 2012-03-07 23:16:43 +11:00
Con Kolivas 754088feb9 Must give the memcpy the sb low offset to work properly. 2012-03-07 23:14:04 +11:00
Con Kolivas dbc71eceb1 Store a copy of the control struct to be reused on subsequent files to prevent variables being modified in the control struct on the first file that
corrupt compression/decompression of the 2nd file.
2012-03-07 22:19:14 +11:00
Con Kolivas 086265c83f Update copyright notices and style to 1TBS for return codes. 2012-03-07 22:04:24 +11:00
Con Kolivas 65e8ca4b03 Revert "Add a debug build option to allow optimising out checks in hot code paths."
This reverts commit fcb1a35688.

Did not end up using this in any meaningful fashion.
2012-03-07 21:57:35 +11:00
Con Kolivas 43402d1c76 Revert "Bypass most checks performed via the inbuilt expect macros likely and unlikely for non-debug builds."
This reverts commit 3a1d097830.

Did not offer any substantial speedup.
2012-03-07 21:57:07 +11:00
ckolivas 3a1d097830 Bypass most checks performed via the inbuilt expect macros likely and unlikely for non-debug builds. 2012-03-07 17:54:04 +11:00
ckolivas fcb1a35688 Add a debug build option to allow optimising out checks in hot code paths. 2012-03-07 17:08:24 +11:00
ckolivas 1abacd82af Use the single_mcpy function even if we need the sliding mmap buffer if we won't need to be pageing buf_low. 2012-03-07 16:53:18 +11:00
ckolivas b5e1362773 Work around variadic macros warnings. 2012-03-07 16:18:23 +11:00
ckolivas 2abda4acd6 Fix scanf warnings for %Lu. 2012-03-07 16:09:19 +11:00
ckolivas af0976f804 Work around rest arguments warnings. 2012-03-07 16:01:13 +11:00
ckolivas 43f407aa04 Remove global variables sliding_buffer get_sb and do_mcpy and put them in rzip_control. 2012-03-07 14:48:21 +11:00
ckolivas 4708114523 Silence sign warnings in liblrzip.c 2012-03-07 13:01:39 +11:00
ckolivas e6ae7c528a Add __maybe_unused macro and use to stop warnings from lzma dummy allocs. 2012-03-07 12:58:58 +11:00
ckolivas f225f9f173 Move to c99 in preparation for pedantic warning compatibility. 2012-03-07 12:42:42 +11:00
ckolivas eaa8f5d7fc Add missing Doxyfile from doc/ 2012-03-07 12:23:16 +11:00
ckolivas 0317e1aed9 Add efl doxygen.m4 2012-03-07 12:07:16 +11:00