aboutsummaryrefslogtreecommitdiffstats
path: root/lib/xmerl
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2018-01-10 13:09:33 +0100
committerBjörn Gustavsson <[email protected]>2018-01-11 12:00:59 +0100
commitce67e91a851273c8aee58f7dad270c39f18fe0de (patch)
treebf096d8821e4afaee7d2dbdeb0ee5cd428fac3ac /lib/xmerl
parentad72a944c03095c3505cb151c9a93d243fb698b6 (diff)
downloadotp-ce67e91a851273c8aee58f7dad270c39f18fe0de.tar.gz
otp-ce67e91a851273c8aee58f7dad270c39f18fe0de.tar.bz2
otp-ce67e91a851273c8aee58f7dad270c39f18fe0de.zip
beam_block: Reorder element/2 calls in guards
In a guard, reorder two consecutive calls to the element/2 BIF that access the same tuple and have the same failure label so that highest index is fetched first. That will allow the second element/2 to be replace with the slightly cheaper get_tuple_element/3 instruction.
Diffstat (limited to 'lib/xmerl')
0 files changed, 0 insertions, 0 deletions