Changeset 3232 in MondoRescue for branches/3.2/mindi-busybox/archival/bzip2.c
- Timestamp:
- Jan 1, 2014, 12:47:38 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.2/mindi-busybox/archival/bzip2.c
r2725 r3232 8 8 */ 9 9 10 //usage:#define bzip2_trivial_usage 11 //usage: "[OPTIONS] [FILE]..." 12 //usage:#define bzip2_full_usage "\n\n" 13 //usage: "Compress FILEs (or stdin) with bzip2 algorithm\n" 14 //usage: "\n -1..9 Compression level" 15 //usage: "\n -d Decompress" 16 //usage: "\n -c Write to stdout" 17 //usage: "\n -f Force" 18 10 19 #include "libbb.h" 11 #include " archive.h"20 #include "bb_archive.h" 12 21 13 #define CONFIG_BZIP2_F EATURE_SPEED122 #define CONFIG_BZIP2_FAST 1 14 23 15 24 /* Speed test: … … 19 28 * At SPEED 5 difference is 32.7%. 20 29 * 21 * Test run of all CONFIG_BZIP2_F EATURE_SPEEDvalues on a 11Mb text file:30 * Test run of all CONFIG_BZIP2_FAST values on a 11Mb text file: 22 31 * Size Time (3 runs) 23 32 * 0: 10828 4.145 4.146 4.148 … … 103 112 104 113 static 105 IF_DESKTOP(long long) int FAST_FUNC compressStream( unpack_info_t *infoUNUSED_PARAM)114 IF_DESKTOP(long long) int FAST_FUNC compressStream(transformer_aux_data_t *aux UNUSED_PARAM) 106 115 { 107 116 IF_DESKTOP(long long) int total;
Note:
See TracChangeset
for help on using the changeset viewer.