Repository navigation
Commit bd194d3
committed
test(sharing): the set-form pins' engine double tests an $in list as a Set
The 10,000-record pin spent 709 of its 736 ms in the double, which rebuilt
and scanned each $in list once per row; under CI shard load that passed the
5 s test timeout. Each list is now a Set built once, so a read costs the rows
it scans plus the ids it names. The counted-read assertions are unchanged.
Claude-Session: https://claude.ai/code/session_01Utp6CbdHk3orAeensH6EzS
Co-authored-by: Claude <noreply@anthropic.com>1 parent 14bf9f9 commit bd194d3
1 file changed
Lines changed: 11 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2476 | 2476 | | |
2477 | 2477 | | |
2478 | 2478 | | |
| 2479 | + | |
| 2480 | + | |
| 2481 | + | |
| 2482 | + | |
| 2483 | + | |
2479 | 2484 | | |
2480 | 2485 | | |
| 2486 | + | |
| 2487 | + | |
| 2488 | + | |
| 2489 | + | |
| 2490 | + | |
2481 | 2491 | | |
2482 | | - | |
| 2492 | + | |
2483 | 2493 | | |
2484 | 2494 | | |
2485 | 2495 | | |
| |||
0 commit comments