Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: lib/matcher.js

Issue 29996579: Issue 7254 - Expand matcher result cache capacity to 10,000 entries (Closed) Base URL: https://hg.adblockplus.org/adblockpluscore/
Patch Set: Created Feb. 2, 2019, 12:22 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/matcher.js
===================================================================
--- a/lib/matcher.js
+++ b/lib/matcher.js
@@ -417,17 +417,17 @@
class CombinedMatcher
{
constructor()
{
/**
* Maximal number of matching cache entries to be kept
* @type {number}
*/
- this.maxCacheEntries = 1000;
+ this.maxCacheEntries = 10000;
/**
* Matcher for blocking rules.
* @type {Matcher}
* @private
*/
this._blacklist = new Matcher();
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld