-
Notifications
You must be signed in to change notification settings - Fork 42
Description
Hi,
Thank you for developing and maintaining this package. I'm the author of BurstTriangulator, an efficient triangulation library for Unity. In the latest release, I’ve added support for triangulation using fixed-point arithmetic, with your package as an optional dependency.
I wanted to share some benchmark results comparing different numeric types used in triangulation. I believe this could provide valuable insights into the performance of fp2 in a concrete use case. Below, one can see the benchmark for generic coordinates for Delaunay triangulation.
As the benchmarks show, fp2 is currently slower compared to float2, double2, and int2 coordinate types. However, the unique properties of fixed-point arithmetic, such as its architectural invariance, are irreplaceable by these other types!
While I can’t make any promises, I hope to optimize this further when I find some spare time.
Best regards,
Andrzej
