43595aeb8afa6883ad649fce9cf9360d35b4a1d7
ids.indexOf() scans the full list for each document, giving O(n²) total. Build a Map<UUID, Integer> once at O(n) and use getOrDefault at O(1) per document. Behavior is identical; existing tests remain green. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Description
No description provided
Languages
Python
73.1%
TypeScript
11.5%
Java
10.9%
Svelte
4.2%
Shell
0.1%