You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Correction overruns its ten-second deadline on repeated-symbol input #136
correct(CorrectionContext(Profile.MS), "ms10tests" + "q" * 122) returns after 14.2 s, not 10 s.
_search_target checks the deadline once per layer and once per 32 yielded views. indel._views skips duplicate edits within a run of one symbol, so some layers do millions of steps between yields. On a 126-character all-q string, the ('I', 'I', 'I', 'AT') traversal runs for 237 s without a single yield.
Found by Codex on #94. The fix is to poll the deadline inside the traversal; _competitors._known_swaps already does this.
Activity
correct: Poll the deadline inside structural traversals
correct: Poll the deadline inside structural traversals
correct: Poll the deadline inside structural traversals
correct: Poll the deadline inside structural traversals