mozilla / filter-cascade

A python filter cascade implementation
Mozilla Public License 2.0
6 stars 5 forks source link

Changed the errors on bitcount growth to be permitted 3 times. #2

Closed jcjones closed 4 years ago

jcjones commented 5 years ago

This makes the bitcount growth sanity check into a 3-strikes-then-bail system, where if the bit count of layer X is > bit count of layer X-3 for three subsequent layers (so 3,4,5 all > 1,2,3), then error and exit early.