On Thursday, September 17, 2015 at 10:14:53 PM UTC-4, Steven G. Johnson wrote: > > > > On Thursday, September 17, 2015 at 10:08:02 PM UTC-4, Steven G. Johnson > wrote: >> >> This looks likely to be rather slow to me, although I haven't benchmarked >> it, and is quite a bit uglier, probably because you can't easily declare a >> UInt32 in Python and do the natural bitwise operations on it. >> > > Or maybe that's just the author's style; the C++ code by the same author > is similar: http://people.sc.fsu.edu/~jburkardt/cpp_src/sobol/sobol.cpp >
(To be fair, it was converted from code originally written in Fortran 77, which is not the ideal language for this sort of bit twiddling either.)
