Changeset 3232 in MondoRescue for branches/3.2/mindi-busybox/archival/libarchive/bz/compress.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/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;
Note:
See TracChangeset
for help on using the changeset viewer.