SIGN IN SIGN UP

gh-119105: difflib.py Differ.compare is too slow [for degenerate cases] (#119376)

Track all pairs achieving the best ratio in Differ(). This repairs the "very deep recursion and cubic time" bad cases in a way that preserves previous output.
T
Tim Peters committed
07df93de73b6bdd4f80cd9e29834d761a0882622
Parent: e3bf538
Committed by GitHub <noreply@github.com> on 5/22/2024, 11:25:08 PM