Performance of various numpy fancy indexing methods, also with numba
Your summary isn’t completely correct, you already did tests with differently sized arrays but one thing that you didn’t do was to change the number of elements indexed. I restricted it to pure indexing and omitted take (which effectively is integer array indexing) and compress and extract (because these are effectively boolean array indexing). The … Read more