perf: parallel wire tessellation with Rayon (Option C)

Extract tessellate_one body into a Send-compatible free function
tessellate_entity, then drive it with rayon::into_par_iter() in
wires_for_block(). Spreads file-open and post-edit tessellation across
all CPU cores. Navigation frames are unaffected (Options A/B cache
eliminates per-frame tessellation entirely).

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
This commit is contained in:
Hakan SevenandClaude Sonnet 4.6 committed 2026-04-26 02:36:34 +03:00
1 parent 9c8c9a4060
commit 432e35ded3
5 files changed
+204 -178

No files matched your search

Generated
+1
View File
@@ -14,6 +14,7 @@ dependencies = [
"image",
"open",
"printpdf",
"rayon",
"rfd",
"truck-meshalgo",
"truck-modeling",