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
Commit 4bae89d
Browse filesBrowse the repository at this point in the historyBrowse files
Find duplicate pattern variables in a set of the bound names
Why:
Each new pattern variable was compared with every variable the
pattern had bound so far, and a `let rec … and …` group is one
pattern, so n bindings cost O(n²) string comparisons: 16,000 bindings
took 2.7 s. They now take 2.0 s.
The names are kept in a set next to the list of variables, in one value,
so that resetting the pattern and the save and restore around or-patterns
carry both.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Kbf3gK1dcjbe97yY1wRMgs
Signed-off-by: Christoph Knittel <ck@cca.io>
0 commit comments