Skip to content

Acknowledgment and benchmark #32

@andywiecko

Description

@andywiecko

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.

image

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions