Skip to content
This repository was archived by the owner on Nov 15, 2017. It is now read-only.

Commit cf7b32d

Browse files
committed
better reference tests
1 parent 234e398 commit cf7b32d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

js/abp-filters.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,9 @@ FilterPlainPrefix1.prototype.match = function(s, tokenBeg) {
128128
/******************************************************************************/
129129

130130
// With a single wildcard, indexOf is best.
131-
// See: http://jsperf.com/regexp-vs-indexof-for-abp/4
131+
// See:
132+
// http://jsperf.com/regexp-vs-indexof-abp-miss
133+
// http://jsperf.com/regexp-vs-indexof-abp-hit
132134

133135
FilterSingleWildcard = function(s, tokenBeg, tokenLen) {
134136
Filter.apply(this, arguments);

0 commit comments

Comments
 (0)