game-difficulty

Results 6 comments of game-difficulty

**Issue Description** I have encountered a significant performance drop when using np.sort and np.unique within functions decorated with numba.jit. The performance is more than 5 times slower compared to their...

> In the minimal example you have given, the time you are reporting includes the time taken to compile the code. Do you still see the same slowdown if you...

numpy 2.0.0 release seems to have optimized sorting significantly, perhaps numba needs some changes to go along with this update?

I see. But I believe numba 0.60 needs to do something to follow up on numpy 2.0's optimization of sorting

I've currently figured out how to modify something to call it, but the code is getting rather ugly

Since the partition function is a template function, it might not work to export it with __attribute__((visibility("default"))) because template functions are instantiated only when used.