Changeset 3232 in MondoRescue for branches/3.2/mindi-busybox/archival/libarchive/bz
- Timestamp:
- Jan 1, 2014, 12:47:38 AM (11 years ago)
- Location:
- branches/3.2/mindi-busybox/archival/libarchive/bz
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.2/mindi-busybox/archival/libarchive/bz/blocksort.c
r2725 r3232 386 386 */ 387 387 388 #if CONFIG_BZIP2_F EATURE_SPEED>= 1388 #if CONFIG_BZIP2_FAST >= 1 389 389 390 390 #define TIMES_8(code) \ … … 497 497 498 498 /* 1.5% overall speedup, +290 bytes */ 499 #if CONFIG_BZIP2_F EATURE_SPEED>= 3499 #if CONFIG_BZIP2_FAST >= 3 500 500 /*-- copy 2 --*/ 501 501 if (i > hi) break; … … 751 751 i = nblock - 1; 752 752 /* 3%, +300 bytes */ 753 #if CONFIG_BZIP2_F EATURE_SPEED>= 2753 #if CONFIG_BZIP2_FAST >= 2 754 754 for (; i >= 3; i -= 4) { 755 755 quadrant[i] = 0; … … 788 788 s = block[0] << 8; 789 789 i = nblock - 1; 790 #if CONFIG_BZIP2_F EATURE_SPEED>= 2790 #if CONFIG_BZIP2_FAST >= 2 791 791 for (; i >= 3; i -= 4) { 792 792 s = (s >> 8) | (block[i] << 8); -
branches/3.2/mindi-busybox/archival/libarchive/bz/bzlib_private.h
r2725 r3232 184 184 int32_t sendMTFValues__code [BZ_N_GROUPS][BZ_MAX_ALPHA_SIZE]; 185 185 int32_t sendMTFValues__rfreq[BZ_N_GROUPS][BZ_MAX_ALPHA_SIZE]; 186 #if CONFIG_BZIP2_F EATURE_SPEED>= 5186 #if CONFIG_BZIP2_FAST >= 5 187 187 /* second dimension: only 3 needed; 4 makes index calculations faster */ 188 188 uint32_t sendMTFValues__len_pack[BZ_MAX_ALPHA_SIZE][4]; -
branches/3.2/mindi-busybox/archival/libarchive/bz/compress.c
r2725 r3232 62 62 static 63 63 /* Helps only on level 5, on other levels hurts. ? */ 64 #if CONFIG_BZIP2_F EATURE_SPEED>= 564 #if CONFIG_BZIP2_FAST >= 5 65 65 ALWAYS_INLINE 66 66 #endif … … 252 252 int32_t v, t, i, j, gs, ge, totc, bt, bc, iter; 253 253 int32_t nSelectors, alphaSize, minLen, maxLen, selCtr; 254 int32_t nGroups , nBytes;254 int32_t nGroups; 255 255 256 256 /* … … 332 332 s->rfreq[t][v] = 0; 333 333 334 #if CONFIG_BZIP2_F EATURE_SPEED>= 5334 #if CONFIG_BZIP2_FAST >= 5 335 335 /* 336 336 * Set up an auxiliary length table which is used to fast-track … … 362 362 for (t = 0; t < nGroups; t++) 363 363 cost[t] = 0; 364 #if CONFIG_BZIP2_F EATURE_SPEED>= 5364 #if CONFIG_BZIP2_FAST >= 5 365 365 if (nGroups == 6 && 50 == ge-gs+1) { 366 366 /*--- fast track the common case ---*/ … … 421 421 */ 422 422 /* 1% faster compress. +800 bytes */ 423 #if CONFIG_BZIP2_F EATURE_SPEED>= 4423 #if CONFIG_BZIP2_FAST >= 4 424 424 if (nGroups == 6 && 50 == ge-gs+1) { 425 425 /*--- fast track the common case ---*/ … … 513 513 } 514 514 515 nBytes = s->numZ;516 515 bsW(s, 16, inUse16); 517 516 … … 529 528 530 529 /*--- Now the selectors. ---*/ 531 nBytes = s->numZ;532 530 bsW(s, 3, nGroups); 533 531 bsW(s, 15, nSelectors); … … 539 537 540 538 /*--- Now the coding tables. ---*/ 541 nBytes = s->numZ;542 543 539 for (t = 0; t < nGroups; t++) { 544 540 int32_t curr = s->len[t][0]; … … 552 548 553 549 /*--- And finally, the block data proper ---*/ 554 nBytes = s->numZ;555 550 selCtr = 0; 556 551 gs = 0; -
branches/3.2/mindi-busybox/archival/libarchive/bz/huffman.c
r2725 r3232 49 49 50 50 /* 90 bytes, 0.3% of overall compress speed */ 51 #if CONFIG_BZIP2_F EATURE_SPEED>= 151 #if CONFIG_BZIP2_FAST >= 1 52 52 53 53 /* macro works better than inline (gcc 4.2.1) */
Note:
See TracChangeset
for help on using the changeset viewer.