4 ms·
Interesting but given the low total execution time, the majority of time in the numpy implementation is going to be spent initializing CPython. I think if this
by qeternity 6y ago
Interesting but given the low total execution time, the majority of time in the numpy implementation is going to be spent initializing CPython.
I think if this were on the order of minutes/hours you would see numpy outperform.