Skip to content
New Polygon Triangulator Outperforms Earcut in Speed

New Polygon Triangulator Outperforms Earcut in Speed

First seen 22 Oct 2026, 11:42 UTC • •

Article Content

Browse articles
ThreatCluster AI
ThreatCluster •October 23, 2026 at 11:13 UTC
  • •New library 'earstrip' outperforms 'earcut' in speed.
  • •Achieves 489 ms for triangulating 3.7 million polygons.
  • •Available under ISC license, enhancing web mapping performance.

A new polygon triangulator library named 'earstrip' has been released, achieving significant performance improvements over the existing 'earcut' library. The new library is 14% faster in C++ and 1.4 to 2.1 times faster in the browser compared to earcut.js. It handles 3.7 million map polygons in 489 ms, a notable enhancement for applications requiring real-time triangulation. The library is designed to maintain the quality of triangulation while optimizing for speed, particularly for rendering maps. The development process involved iterative improvements and detailed performance testing. The library is available under the ISC license, similar to earcut. This release may impact developers using earcut for web-based mapping applications, as it offers a more efficient alternative.

Start a free Starter trial for enhanced analysis

Ask AI about this cluster

Updated 28d ago How this analysis works

Timeline

2026-10-16
Earstrip library released
The new polygon triangulator 'earstrip' was published, showcasing significant speed improvements over 'earcut'.
News.Ycombinator

More articles in this cluster (2)

Common questions

What is earstrip?
Earstrip is a new polygon triangulator library that offers faster performance than earcut.
How much faster is earstrip compared to earcut?
Earstrip is 14% faster in C++ and 1.4 to 2.1 times faster in the browser compared to earcut.
What license does earstrip use?
Earstrip is available under the ISC license, the same as earcut.