mirror of
https://github.com/schnaader/precomp-cpp
synced 2026-08-23 00:23:04 -04:00
Tweaked brute mode heuristic
This commit is contained in:
parent
ec0a5ae8b3
commit
61a6c5ed9e
1 changed files with 1 additions and 1 deletions
|
|
@ -2786,7 +2786,7 @@ bool check_inf_result(int cb_pos, int windowbits, bool use_brute_parameters = fa
|
|||
used+=((*freq)==0);
|
||||
maximum+=(++(*freq))>maximum;
|
||||
}
|
||||
if (maximum>=8+i || used*4<(i+1)*64)
|
||||
if (maximum>=((12+i)<<i) || used*(7-(i+(i/2)))<(i+1)*64)
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue