diff options
author | Björn Gustavsson <[email protected]> | 2015-02-16 13:53:25 +0100 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2015-02-18 12:49:42 +0100 |
commit | 53288b441ec721ce3bbdcc4ad65b75e11acc5e1b (patch) | |
tree | 027c8d8157437cca7b297f3813b4532fc028b6de /lib/kernel/ebin | |
parent | cabcd537c30e2c0a4496ee9291cfd4e7713645c1 (diff) | |
download | otp-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 'lib/kernel/ebin')
0 files changed, 0 insertions, 0 deletions