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 <noreply@anthropic.com>
This commit is contained in:
Hakan Seven 2026-04-26 02:36:34 +03:00
commit 432e35ded3
5 changed files with 202 additions and 176 deletions

1
Cargo.lock generated
View file

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