Numba has support for both standard python random()
module and the np.random
module, which is great as numpy.random
functions are generally quite slow.
I was wondering if the vanilla python/numpy random is different in any way from a numba implementation.
That is, (1) I have a function that generates some random numbers, and (2) another function which is njited version of 1.
Is the behavior of these functions different in any characteristic way? Will the random numbers generated in both functions be of the same “quality”?