3 ms·
Agreed, I speed up Python numpy code with numba quite often and it isn’t at all unreadable to put it in an ndarray subclass. poly = Polygon(vertices) I wo
by toxik 4y ago
Agreed, I speed up Python numpy code with numba quite often and it isn’t at all unreadable to put it in an ndarray subclass.
poly = Polygon(vertices)
I would bet you can achieve just as much of a speedup with numba or Cython using this form.