News for hackers. Stuff that matters.
Re:Outperforming everything with anything: Python? Sure, why... by mlthoughts2018 on Sunday January 27, 2019 @06:07PM (#19014321)
I find the opposite to be true. With numba & Cython, it’s ridiculously simple to target a segment of Python code for compiled specialization, often required for custom pieces of work not directly expressible in NumPy, especially when processing non-ndarray data structures.

I find I am frequently removing sections of inscrutable “vectorized” NumPy code that is inefficient, not because NumPy is inefficient but because conforming the data to a structure amenable to NumPy is too inefficient in the first place, and rewriting in straightforward, simple Cython functions.

Re:Outperforming everything with anything: Python? Sure, why... by carlmr on Monday January 28, 2019 @04:56AM (#19016281)
>I find I am frequently removing sections of inscrutable “vectorized” NumPy code that is inefficient, not because NumPy is inefficient but because conforming the data to a structure amenable to NumPy is too inefficient in the first place

Also the next maintainer will thank you for it.