diff options
author | Björn Gustavsson <[email protected]> | 2015-03-17 17:39:15 +0100 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2015-03-26 15:10:57 +0100 |
commit | 7946183da3e1cb7ff709030e2ec5ad7f7effdcf4 (patch) | |
tree | cbf0db65338bd3d1050e62a73117af47c8cf5f8e /lib/os_mon | |
parent | bffb6ccf3fdd9de98e9ff94e19e8938a2fdc3d57 (diff) | |
download | otp-7946183da3e1cb7ff709030e2ec5ad7f7effdcf4.tar.gz otp-7946183da3e1cb7ff709030e2ec5ad7f7effdcf4.tar.bz2 otp-7946183da3e1cb7ff709030e2ec5ad7f7effdcf4.zip |
Optimize binary_module:random_ref_comp/1
The most expensive part of random_ref_comp/1 is
do_matches_loop_comp/4. The running time was reduced from roughly
80 seconds to roughly 40 seconds on my computer when I modified
the caller to pre-compile the pattern.
Diffstat (limited to 'lib/os_mon')
0 files changed, 0 insertions, 0 deletions