[Numpy-discussion] argsort speed

josef.pktd at gmail.com josef.pktd at gmail.com
Sun Feb 16 17:43:24 EST 2014


currently using numpy 1.6.1

What's the fastest argsort for a 1d array with around 28 Million
elements, roughly uniformly distributed, random order?

Is there a reason that np.argsort is almost 3 times slower than np.sort?

I'm doing semi-systematic timing for a stats(models) algorithm.

Josef



More information about the NumPy-Discussion mailing list