Changeset 85


Ignore:
Timestamp:
05/06/10 07:51:27 (4 years ago)
Author:
faltet
Message:

For optimization level 1, reduce the blocksize by 8 instead of 4. This gives significantly better decompression ratios at the expense of lower compression ratio and compression speed.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/blosc.c

    r82 r85  
    424424  else if (nbytes >= L1*typesize) { 
    425425    blocksize = L1 * typesize; 
    426     if (clevel <= 3) { 
     426    if (clevel == 1) { 
     427      blocksize /= 8; 
     428    } 
     429    else if (clevel <= 3) { 
    427430      blocksize /= 4; 
    428431    } 
Note: See TracChangeset for help on using the changeset viewer.