+ 2
Can python be faster than numpy?
This is my best attempt https://code.sololearn.com/cW3pYAT3cjU0/?ref=app
2 odpowiedzi
+ 3
As the array size increase, Numpy gets around 30 times faster than Python List. Because the Numpy array is densely packed in memory due to its homogeneous type, it also frees the memory faster.
0
Float nums in first list made it faster, but numpy became faster too