diff options
| author | Stephen Blott | 2016-04-09 06:32:51 +0100 |
|---|---|---|
| committer | Stephen Blott | 2016-04-09 06:32:53 +0100 |
| commit | ac9543d9017fbb56e670c0728173432a879d4d13 (patch) | |
| tree | 5a4fadadac39275ca54f5b61cfbb73ea92b1bdf3 /tests | |
| parent | c8ca94bd83bb1a651cd4efdaef41906f46004ee5 (diff) | |
| download | vimium-ac9543d9017fbb56e670c0728173432a879d4d13.tar.bz2 | |
Minor performance tweak.
Two minor tweaks:
1. Do not use ".indexOf()" three times for each comparison; do it just
once.
2. Check the common case (no match) first.
These are very minor performance tweaks; but, with global link hints,
we pay this cost n times (for n frames).
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions
