Commit d246f7b
Optimize add_conflict node identity check
Use object identity (equal?) as fast path before falling back to the
expensive AST node #== comparison. Most conflict checks involve the
same node object, making the identity check sufficient.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent bf533a8 commit d246f7b
1 file changed
Lines changed: 4 additions & 4 deletions
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| |||
0 commit comments