mirror of
https://github.com/morluto/rea.git
synced 2026-10-31 03:45:39 +00:00
Inventory attribute lookups and the members inspector each interpreted TypeDef member-list ownership. The members lookup binary-searched ordered ranges but fell back to a per-member scan of every type when malformed lists were unordered, which was quadratic (8 s for 100,000 types). Both now use firstMatchListOwners, one near-linear first-match index over one-based list positions. Remove the ordered/fallback split and the production declaringType scan, which remains only as the test oracle. The inventory reserves only its retained index. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: morluto <76467478+morluto@users.noreply.github.com>