Closed
Description
Description
@ricardoV94 was doing some benchmarking of numba code generated by scan
, and we discovered that wrapping output outer_in
values with np.array
significantly slows down the scans. Some speed tests are here. Cliff's notes:
- The numba code scan generates is 100x slower than a vectorized numba function
- This speed difference is entirely due to wrapping
outer_in
withnp.array
in theidx_to_str
function.
I'm going to test removing the np.array
part entirely and run the test suite to see what happens, but in the meantime I'm opening this issue to ask if anyone knows why this exists.