[Numpy-discussion] python's random.random() faster than numpy.random.rand() ???
Mark P. Miller
mpmusu at cc.usu.edu
Mon Jan 29 09:58:35 CST 2007
Thanks to all that responded. Yes...I need to look into pre-generating
all of the random numbers that may be needed. It will not be trivial in
the case of this particular application I am implementing, but is
absolutely worth considering.
Robert Kern's response was more along the lines of what I was trying to
convey though. Does that particular bit of code require optimization?
Dr. Mark P. Miller
Department of Biology
5305 Old Main Hill
Utah State University
Logan, UT 84322-5305 USA
More information about the Numpy-discussion