aboutsummaryrefslogtreecommitdiffstats
path: root/lib/compiler/src/beam_asm.erl
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2015-04-18 07:24:53 +0200
committerBjörn Gustavsson <[email protected]>2015-04-22 10:14:55 +0200
commit93ad33ddcdceb201239f9c5133f2c51769006a2a (patch)
tree707442888215b475b61bdb69cb93b53f72679f3e /lib/compiler/src/beam_asm.erl
parentde9c0ab5295fb0a16b05c4df101074ce9cd6695b (diff)
downloadotp-93ad33ddcdceb201239f9c5133f2c51769006a2a.tar.gz
otp-93ad33ddcdceb201239f9c5133f2c51769006a2a.tar.bz2
otp-93ad33ddcdceb201239f9c5133f2c51769006a2a.zip
beam_bsm: Optimize btb_index()
lists:dropwhile/2 and the fun in btb_index_1/2 shows up in the top 10 list of eprof. Replace dropwhile with a special-purpose function for a tiny increase in speed.
Diffstat (limited to 'lib/compiler/src/beam_asm.erl')
0 files changed, 0 insertions, 0 deletions