Open maxammann opened 1 year ago
We currently use the lyon crate to tesselate polygons and lines. It is not super fast, but also not super slow.
Maybe we can improve the tesselation of polygons using the earcut algorithm, provided by earcutr crate.
Fast
Performance is ok on desktop benchmarks (cargo bench) ~1ms.
cargo bench
Switch to earcutr
We currently use the lyon crate to tesselate polygons and lines. It is not super fast, but also not super slow.
Maybe we can improve the tesselation of polygons using the earcut algorithm, provided by earcutr crate.
🤔 Expected Behavior
Fast
😯 Current Behavior
Performance is ok on desktop benchmarks (
cargo bench
) ~1ms.💁 Possible Solution
Switch to earcutr