I\'m currently experimenting with numba and especially vectorized functions, so I created a sum vectorized function (because it is eas
You ask:
where would "parallel" vectorized functions make sense given that it can lead to such problems
Given that ufuncs produced by numba.vectorize(target='parallel') have defective reduce() methods, the question is what can we do with them that is useful?
In your case, the ufunc does addition. A useful application of this with target='parallel' is elementwise addition of two arrays:
numba_sum(array, array)
This is indeed faster than a single-core solution, and seems not to be impacted by the bugs that cripple reduce() and friends.