diff options
author | Björn Gustavsson <[email protected]> | 2019-06-26 10:36:19 +0200 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2019-06-26 11:23:18 +0200 |
commit | 48cdb47946c516579e6b46979ab4e6f9378d2e79 (patch) | |
tree | 638ceca1fdfd7e68bef2c40e6b2f1feff73911e5 /lib/compiler/src/beam_block.erl | |
parent | a92672118b5b80fc7f6d902bf064c6efae2754dc (diff) | |
download | otp-48cdb47946c516579e6b46979ab4e6f9378d2e79.tar.gz otp-48cdb47946c516579e6b46979ab4e6f9378d2e79.tar.bz2 otp-48cdb47946c516579e6b46979ab4e6f9378d2e79.zip |
Fix slow compilation of huge functions
Some huge functions would compile very slowly because of a bottleneck
in `beam_ssa:def_used/2`. One example is the `cuter_binlib` module in
https://github.com/cuter-testing/cuter. On my computer, this commit
reduces the compilatation time for `cuter_binlib` to 45 seconds down
from more than 4 minutes.
Noticed-by: Kostis Sagonas
Diffstat (limited to 'lib/compiler/src/beam_block.erl')
0 files changed, 0 insertions, 0 deletions