Click here to Skip to main content
65,938 articles
CodeProject is changing. Read more.
Articles
(untagged)

Python Random Number Generation Performance with the Intel Python Distribution

27 Feb 2019 4  
Jeff looks at the performance of random number generation using the Intel Python distribution

This article is in the Product Showcase section for our sponsors at CodeProject. These articles are intended to provide you with information on products and services that we consider useful and of value to developers.

Jeff compares a stock random number generation for 10,000 numbers, then compares it to the random Intel version. Then Jeff brings in some timers to generate 10,000 random numbers, but then swaps in several different pseudo random number generators, then tests their performance relative to the Mersenne Twister basic random number generator, the MT19937. He also uses the Wichmann–Hill algorithm, the Philox Block cipher algorithms, the MT2203, the SIMD optimized Mersenne Twister, etc. to compare other performances, Then compares how much faster or slower these are to the Mersenne Twister.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here