be more aggressive when reducing size of card defs file

This commit is contained in:
Martin Michelsen
2023-08-31 13:35:02 -07:00
parent ee7c574fdf
commit 5b038364a1
3 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -289,7 +289,7 @@ string prs_compress_optimal(
// For each node, populate the literal value, and the best ways to get to the
// following nodes
for (size_t z = 0; z < in_size; z++) {
if ((z & 0xFFF) == 0) {
if ((z & 0xFFF) == 0 && progress_fn) {
progress_fn(CompressPhase::CONSTRUCT_PATHS, z, in_size, 0);
}