4 ms·
I'm sure those libraries are good, you just tend not to encounter stuff like that in programs written casually or by people who think performance really matters
by kevingadd 6y ago
I'm sure those libraries are good, you just tend not to encounter stuff like that in programs written casually or by people who think performance really matters.
Most people doing triangulation by ear clipping are trying to rasterize shapes. In the past, cairo (the 2d graphics library) had a bug that would cause crashes/hangs in Firefox because a VPN driver was changing the floating point state on random threads... which would cause one of those geometric algorithms to break.
- gpderetta 6y agoThat must have been extremely painful to debug. Let me guess, on Windows it was resetting the x87 fpu precision from 64 bits to 80?