Skip to content

remove filter overlap, simplify regex#2

Open
llogiq wants to merge 1 commit intomasterfrom
remove-filter-overlap
Open

remove filter overlap, simplify regex#2
llogiq wants to merge 1 commit intomasterfrom
remove-filter-overlap

Conversation

@llogiq
Copy link
Copy Markdown
Contributor

@llogiq llogiq commented Aug 5, 2023

This removes the need for deduplicating on merge because the filters themselves ensure that the results have no overlap. I also removed some needless allocations and simplified the regex for highlighting a bit. I doubt it matters too much for perf, but I still like this variant better.

@llogiq llogiq requested a review from generall August 5, 2023 20:13
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