Skip to content

Commit

Permalink
Decrease master block size to use less memory
Browse files Browse the repository at this point in the history
  • Loading branch information
lvandeve committed Feb 26, 2016
1 parent 05e3efc commit fdb3745
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/zopfli/util.h
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,9 @@ operating on huge files without exceeding memory, such as the 1GB wiki9 corpus.
The whole compression algorithm, including the smarter block splitting, will
be executed independently on each huge block.
Dividing into huge blocks hurts compression, but not much relative to the size.
Set this to, for example, 20MB (20000000). Set it to 0 to disable master blocks.
Set it to 0 to disable master blocks.
*/
#define ZOPFLI_MASTER_BLOCK_SIZE 20000000
#define ZOPFLI_MASTER_BLOCK_SIZE 1000000

/*
Used to initialize costs for example
Expand Down

0 comments on commit fdb3745

Please sign in to comment.