I would be suprised if this give a significant speed up, as I would be surprised we can remove 1e-4s of overhead. I think the overhead is more in the 1e-5 range. So this could save in the order of 10% of this op time.

But I could be wrong, I didn't timed closely the over head of having python code.