diff options
author | Björn Gustavsson <[email protected]> | 2019-01-31 06:42:35 +0100 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2019-02-01 12:46:43 +0100 |
commit | 939b7da053408682de888bd6423ff7e9cc6ea448 (patch) | |
tree | 1503bf6e895d7917ced9ce80a6f33ee3bdfb23ed /lib/public_key | |
parent | e713179951d64d85450494d100caf0495ba9e104 (diff) | |
download | otp-939b7da053408682de888bd6423ff7e9cc6ea448.tar.gz otp-939b7da053408682de888bd6423ff7e9cc6ea448.tar.bz2 otp-939b7da053408682de888bd6423ff7e9cc6ea448.zip |
Optimize beam_ssa:def_used/2
beam_ssa:def_used/2 is used by beam_ssa_pre_codegen when reserving
Y registers.
Do the following optimizations:
* Use an ordset instead of a gb_set. When the only operation performed
on a set is union/2, an ordset will usually be faster, especially when
the result is an ordset.
* Use a cerl_set instead of a gb_set for the set of all possible
predecessors. cerl_sets is usually faster than gb_sets.
Diffstat (limited to 'lib/public_key')
0 files changed, 0 insertions, 0 deletions