A perf optimization on compare uri lists

This optimization is based on this benchmark results:

```
Benchmark                                Samples      Time   GC Time        Per                Rate

  Check length and directly compare    1,000,000    0.004s    0.000s    0.004µs      237,000,000/sec
  Loop through and run indexOf         1,000,000    0.032s    0.000s    0.032µs       31,600,000/sec
```
Merge pull request #51 from Obvious/xiao-perf-optimization

A perf optimization on compare uri lists