be425c6102
* claim: Assemblies: use lookup maps when building the world state * Assemblies: use lookup maps when building the world state world_state_reusing, made again after every geometry command in a design with components, filtered all bodies for every placement, searched the timeline for every sketch and construction of a placed part, and searched all bodies twice per tap and placement. It now builds the feature to component map, the bodies of each component (in body order) and each tap's component and body offset once per call. The result and its order are unchanged. On a 100-part assembly placed 5 times (800 sketches, 200 taps) one world state drops from 124 ms to 9.5 ms (release, median). A test-only counter of searches through all features or all bodies checks that the work no longer grows with the sketches and taps. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Markus Kaltenbrunner <kaltenbrunnermarkus@users.noreply.github.com> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>