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

Issue 29780560: Issue 6665 - Optimize element hiding emulation filter lookups (Closed)

Created:
May 13, 2018, 7:28 p.m. by Manish Jethani
Modified:
May 15, 2018, 12:07 p.m.
Reviewers:
kzar, hub
CC:
sergei
Base URL:
https://hg.adblockplus.org/adblockpluscore/
Visibility:
Public.

Patch Set 1 #

Patch Set 2 : Separate out subdomains generator function #

Total comments: 2

Patch Set 3 : Update JSDoc #

Patch Set 4 : Fix JSDoc yield type #

Patch Set 5 : Roll back generics overkill #

Patch Set 6 : Use String.indexOf for subdomains #

Unified diffs Side-by-side diffs Delta from patch set Stats (+101 lines, -11 lines) Patch
M lib/common.js View 1 2 3 4 5 1 chunk +19 lines, -0 lines 0 comments Download
M lib/elemHideEmulation.js View 1 2 3 4 5 1 chunk +80 lines, -9 lines 0 comments Download
M test/filterListener.js View 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 9
Manish Jethani
May 13, 2018, 7:28 p.m. (2018-05-13 19:28:37 UTC) #1
Manish Jethani
Patch Set 1 This patch speeds up element hiding emulation filter lookups by domain. Ideally ...
May 13, 2018, 8:39 p.m. (2018-05-13 20:39:48 UTC) #2
Manish Jethani
Patch Set 2: Separate out subdomains generator function Patch Set 3: Update JSDoc Patch Set ...
May 13, 2018, 8:50 p.m. (2018-05-13 20:50:54 UTC) #3
Manish Jethani
Patch Set 5: Roll back generics overkill I'll settle for for loops, since generics seem ...
May 14, 2018, 1:22 a.m. (2018-05-14 01:22:27 UTC) #4
Manish Jethani
Patch Set 6: Use String.indexOf for subdomains After some testing I find that the simple ...
May 14, 2018, 2:25 a.m. (2018-05-14 02:25:07 UTC) #5
hub
Issue #6665 is about merging ElemHide and ElemHideEmulation. It this related to that issue?
May 14, 2018, 8:25 p.m. (2018-05-14 20:25:59 UTC) #6
Manish Jethani
On 2018/05/14 20:25:59, hub wrote: > Issue #6665 is about merging ElemHide and ElemHideEmulation. It ...
May 15, 2018, 11:05 a.m. (2018-05-15 11:05:41 UTC) #7
kzar
NOT LGTM, I don't like that we're duplicating the logic here and would rather we ...
May 15, 2018, 11:18 a.m. (2018-05-15 11:18:17 UTC) #8
Manish Jethani
May 15, 2018, 12:06 p.m. (2018-05-15 12:06:55 UTC) #9
On 2018/05/15 11:18:17, kzar wrote:
> NOT LGTM, I don't like that we're duplicating the logic here and would rather
we
> instead shared it if possible.

Alright, in that case I'll wait for the other changes to lib/elemHide.js to land
before trying to share code between the two modules or just merge them entirely.

Powered by Google App Engine
This is Rietveld