Hacker News new | ask | show | jobs
by toxik 1172 days 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.