aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/hipe
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2015-02-16 13:53:25 +0100
committerBjörn Gustavsson <[email protected]>2015-02-18 12:49:42 +0100
commit53288b441ec721ce3bbdcc4ad65b75e11acc5e1b (patch)
tree027c8d8157437cca7b297f3813b4532fc028b6de /erts/emulator/hipe
parentcabcd537c30e2c0a4496ee9291cfd4e7713645c1 (diff)
downloadotp-53288b441ec721ce3bbdcc4ad65b75e11acc5e1b.tar.gz
otp-53288b441ec721ce3bbdcc4ad65b75e11acc5e1b.tar.bz2
otp-53288b441ec721ce3bbdcc4ad65b75e11acc5e1b.zip
Optimize string:tokens/2
We can save some time by reversing the original string before starting the tokenization. When there is only one separator, we can save even more time by treating that case specially so that we don't have to call lists:member/2 for each character.
Diffstat (limited to 'erts/emulator/hipe')
0 files changed, 0 insertions, 0 deletions