Changeset 3232 in MondoRescue for branches/3.2/mindi-busybox/archival/bzip2.c


Ignore:
Timestamp:
Jan 1, 2014, 12:47:38 AM (10 years ago)
Author:
Bruno Cornec
Message:
  • Update mindi-busybox to 1.21.1
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.2/mindi-busybox/archival/bzip2.c

    r2725 r3232  
    88 */
    99
     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
    1019#include "libbb.h"
    11 #include "archive.h"
     20#include "bb_archive.h"
    1221
    13 #define CONFIG_BZIP2_FEATURE_SPEED 1
     22#define CONFIG_BZIP2_FAST 1
    1423
    1524/* Speed test:
     
    1928 * At SPEED 5 difference is 32.7%.
    2029 *
    21  * Test run of all CONFIG_BZIP2_FEATURE_SPEED values on a 11Mb text file:
     30 * Test run of all CONFIG_BZIP2_FAST values on a 11Mb text file:
    2231 *     Size   Time (3 runs)
    2332 * 0:  10828  4.145 4.146 4.148
     
    103112
    104113static
    105 IF_DESKTOP(long long) int FAST_FUNC compressStream(unpack_info_t *info UNUSED_PARAM)
     114IF_DESKTOP(long long) int FAST_FUNC compressStream(transformer_aux_data_t *aux UNUSED_PARAM)
    106115{
    107116    IF_DESKTOP(long long) int total;
Note: See TracChangeset for help on using the changeset viewer.