1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-11-20 01:12:38 +01:00

Added: "Why are rules "dynamic" and filters "static" if both are declarative?" and additional link

garry-ut99 2024-05-22 08:35:47 +00:00
parent 34b1f0e8bd
commit ed1d0532f2

@ -37,4 +37,10 @@ Advantages:
Disadvantages:
- High overhead creating/deleting network/cosmetic filters (high memory churn).
- Related: [Memory footprint: what happens inside uBlock after installation](./Memory-footprint:-what-happens-inside-uBlock-after-installation)
- In case of 3rd-party filter lists, forced to use all filters, including those which may not be wanted.
#### Why are rules "dynamic" and filters "static" if both are declarative?
"Static" means it must be "compiled" ahead-of-time before being used, and "dynamic" means it can effortlessly change at runtime:
- Rules: you can set rules with a simple mouse clicks in the user interface, they are virtually zero overhead to create/remove.
- Filters: all filters must be all reloaded in memory when adding/removing.