What is the logic behind the INFINITE_DEMERITS = 1E11 ? Having a threshold of 20 can result in a demerit value of

   (1 + 100 * 20 ** 3) ** 2 == 6.400016E11

for the first KnuthNode which is then ignored since it is worse than the initial demerit value.

I would guess that when we use a ration of 20, the initial demerit value should somehow match.


Reply via email to