tsurlfilter icon indicating copy to clipboard operation
tsurlfilter copied to clipboard

Integrate AGTree parser into TSUrlFilter

Open maximtop opened this issue 1 year ago • 0 comments

TSUrlFilter is currently not as efficient as it could be. It would be better to parse rules into AST once and use this AST in the converter, rule creation, and declarative rule converter to make it efficient.

  • [ ] 1. create a benchmark in the TSUrlFilter library to compare results after the job is done
  • [ ] 2. move AGLint AST parser to separate library in TSUrlFilter monorepo
  • [ ] 2.1 reuse it in the AGLint
  • [ ] 3. use AGLint AST parser results in the converter
  • [ ] 4. use AGLint AST parser result when creating rules

Keep in mind the backward compatibility.

maximtop avatar May 19 '23 12:05 maximtop