diff options
author | Julian Taylor <juliantaylor108@gmail.com> | 2014-06-02 21:35:09 +0200 |
---|---|---|
committer | Julian Taylor <juliantaylor108@gmail.com> | 2014-06-02 21:35:09 +0200 |
commit | dc5a148854476ece243205f05e09fd1218692205 (patch) | |
tree | 940bf2c9f216256aba6877e908f1682eef62be68 /numpy/lib/nanfunctions.py | |
parent | e9f27b9ad506a8e37565abf72c0e9f23254595de (diff) | |
parent | 41dc794935e6b01ab0427c054e930a23e4429e4a (diff) | |
download | numpy-dc5a148854476ece243205f05e09fd1218692205.tar.gz |
Merge pull request #4768 from depristo/master
ENH: Optimization for pickling random states
the constructor intended for pickling initializes its state via reading /dev/urandom which can be expensive on virtual machines. as the pickle constructor just needs to create any state which will later be initialized these urandom reads are unnecessary.
Diffstat (limited to 'numpy/lib/nanfunctions.py')
0 files changed, 0 insertions, 0 deletions