aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib/src/dict.erl
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2015-04-17 11:43:20 +0200
committerBjörn Gustavsson <[email protected]>2015-04-22 10:14:55 +0200
commit84705583c517437f59e5b2b3833e1dc1a693830a (patch)
tree9617620162336cc4013f34a238bf019cc19a6c96 /lib/stdlib/src/dict.erl
parent37225949b6cf177934848fff21a1a551b7f6faee (diff)
downloadotp-84705583c517437f59e5b2b3833e1dc1a693830a.tar.gz
otp-84705583c517437f59e5b2b3833e1dc1a693830a.tar.bz2
otp-84705583c517437f59e5b2b3833e1dc1a693830a.zip
beam_utils: Optimize index_labels_1/2
The execution time for beam_utils:index_labels_1/2 is among the longest in the beam_bool, beam_bsm, beam_receive, and beam_trim compiler passes. Therefore it is worthwhile to do the minor optimization of replacing a call to lists:dropwhile/2 with a special-purpose drop_labels function.
Diffstat (limited to 'lib/stdlib/src/dict.erl')
0 files changed, 0 insertions, 0 deletions