Open kasperrisager opened 9 months ago
In the algorithm for largest remainders, there is a couple of lines that figure out what the n largest remainders are. This is probably better done by using DataStructures.jl that has nlargest for approx this purpose.
nlargest
And maybe DataStructures.jl is not even the best choice. There may need to be a few algorithms to choose from for performance purposes.
In the algorithm for largest remainders, there is a couple of lines that figure out what the n largest remainders are. This is probably better done by using DataStructures.jl that has
nlargest
for approx this purpose.