Would that help performance? I'm using <code>index !== len</code> because it is a big faster than <code>index &lt; len</code>.