aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorStephen Blott2016-04-09 06:32:51 +0100
committerStephen Blott2016-04-09 06:32:53 +0100
commitac9543d9017fbb56e670c0728173432a879d4d13 (patch)
tree5a4fadadac39275ca54f5b61cfbb73ea92b1bdf3 /tests
parentc8ca94bd83bb1a651cd4efdaef41906f46004ee5 (diff)
downloadvimium-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