Optimization Challenge Due to L1 Cache with Numba
I’ve been working on optimizing the calculation of differences between elements in NumPy arrays. I have been using Numba for performance improvements, but I get a 100-microsecond jump when the array size surpasses 1 MB. I assume this is due to my CPU’s Ryzen 7950X 1 MB L1 cache size.