Open ffreyer opened 3 months ago
I can replicate this pretty consistently on my machine (mac m1) as well...
Looking into the code with Cthulhu it looks like that method is just a massive mess of type instability. There are quite a few runtime dispatches but the inner loop (invoked at the last draw_mesh2d
call) seems fine...
Running this example on master
for some different inputs yields:
Running this using a Scene instead of Axis, i.e.
equalizes things a bit, but still leaves 2D at 3x the time of 3D.