A developer working on procedural mesh generation needed to trace millions of geodesic paths using the geometry-central C++ library (compiled to WebAssembly via Emscripten). Profiling revealed that Eigen's ColPivHouseholder solver was the bottleneck in the Cartesian-to-barycentric coordinate conversion. By replacing the generic

3m read timeFrom cprimozic.net
Post cover image

Sort: