diff options
author | daurnimator <quae@daurnimator.com> | 2017-12-14 14:55:32 +1100 |
---|---|---|
committer | daurnimator <quae@daurnimator.com> | 2017-12-14 14:56:32 +1100 |
commit | 6099ba186c38c854332ec483edd6cbca3cf94871 (patch) | |
tree | f2ac5dd59230ee285b9177be23ba312ba0e382ad /tests/lexparse.js | |
parent | 431d44fbc7a05dc282641172bd2ddbaf0d6cd9cc (diff) | |
download | fengari-6099ba186c38c854332ec483edd6cbca3cf94871.tar.gz fengari-6099ba186c38c854332ec483edd6cbca3cf94871.tar.bz2 fengari-6099ba186c38c854332ec483edd6cbca3cf94871.zip |
src/lstrlib.js: Optimise array_cmp
Using .indexOf seems to benchmark faster than iterating
Diffstat (limited to 'tests/lexparse.js')
0 files changed, 0 insertions, 0 deletions