Hacker News new | comments | show | ask | jobs | submit login

I'm not sure of your needs, but there's now reasonable support for efficient interaction with numpy arrays; see, eg




Some types of array addressing will take the slower---but still correct---invocation path through Python, but the common form is compiled to direct (albeit strided) array access.

Thanks, that looks great! I used to do stuff like that with weave. It would be interesting to see the speed comparison for weave and cython.

Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | DMCA | Apply to YC | Contact