1/ I use scipy.stats' frozen dists to encapsulate distributions in my ABM, then do rvs to generate random numbers one at a time. Profiling showed this is slow *and* a bottleneck. I cythonized some replacements -- 2x speedup. Nice! But...
-
Show this thread
2/ ...not nice enough to justify a 2 month's worth of runs (in 1 month).
Except, the frozen distributions generate the same sequence as mine!
So, I get to keep my runs.
The speedup is free!
#phdlife #ScholarSunday :)
2:14 PM - 6 Jan 2019
0 replies
0 retweets
3 likes
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.