Skip to content

Precompute selector string outside click-enqueue loop in crawlDomain#673

Open
WilsonkwSheng wants to merge 1 commit intomasterfrom
refactor-move-css-query-selector
Open

Precompute selector string outside click-enqueue loop in crawlDomain#673
WilsonkwSheng wants to merge 1 commit intomasterfrom
refactor-move-css-query-selector

Conversation

@WilsonkwSheng
Copy link
Collaborator

The selector string is static during that function call, so recomputing it every iteration is unnecessary.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant