User Profile
Collapse
-
justforkicks1 started a topic Python/Numpy have I already written the swiftest code for large array?in PythonPython/Numpy have I already written the swiftest code for large array?
I would like to get my script total execution time down from 4 minutes to less than 30 secs. I have a large 1d array (3000000+) of distances with many duplicate distances. I am trying to write the swiftest function that returns all distances that appear n times in the array. I have written a function in numpy but there is a bottleneck at one line in the code. Swift performance is an issue because the calculations are done in a for loop for 2400 different...
No activity results to display
Show More