3 ms·
Eh yes, this works, but you are not using Arrays.intSort here. Which means that the optimizations that the article is about won't apply. intSort (or any other o
by misja111 3y ago
Eh yes, this works, but you are not using Arrays.intSort here. Which means that the optimizations that the article is about won't apply.
intSort (or any other of the sorts in the article) works purely on an Array of Ints, moving them around and comparing them to each other.
It's quite hard to come up with something that we could use in every day programming that will benefit from the new optimizations.