Ranged random-number generation is slow in Python…

A colleague has been running simulations using a library written in Python. She was having serious performance problems… Her application is parallelizable, but Python does not make parallelization easy. She could switch to another language, but that’s expensive. Further investigations reveal that her simulation relies heavily on random-number generation. Every little step involves a random … Continue reading Ranged random-number generation is slow in Python…