Re:uBlock Origin Lite now available on Firefox
by flangola7 on Monday August 21, 2023 @10:48PM
(#37218025)
Why is there a filter limit at all? Why did Firefox add that? Can config change it?
Re:uBlock Origin Lite now available on Firefox
by postalrat on Monday August 21, 2023 @11:10PM
(#37218191)
Filters aren't free
Re:uBlock Origin Lite now available on Firefox
by wtallis on Tuesday August 22, 2023 @12:08AM
(#37218583)
They are quite often better than free, blocking unwanted content that would consume more memory and CPU time than the filter itself.
Re:uBlock Origin Lite now available on Firefox
by JacobSeated on Tuesday August 22, 2023 @02:56AM
(#37219530)
Filters take a minuscule amount of resources. E.g. Even if you had to loop over a list with thousands of entries this would be unlikely to matter, and can in fact even be optimized quite significantly with various algorithms. However, because a database is most likely used, this is not even an issue, and the resource use will in fact be truly minimal.
I can not give you an exact number, but it is massively bigger than the number of trackers / elements that any usable web page can realistically implement. Probably you can do several thousands database calls in less than a second due to indexing; and that can be further optimized by doing it in batches, bringing it up to tens of thousands, if not in the hundreds on modern PCs. It is literally not an issue.
Re:uBlock Origin Lite now available on Firefox
by postalrat on Tuesday August 22, 2023 @02:10PM
(#37226530)
Is the limit still around 30,000 or is it higher? That could be 600,000 filter checks on a page load with 20 requests.
I'm sure it's fast but if people want unlimited number of rules that number could start exploding.
Re:uBlock Origin Lite now available on Firefox
by bornfreddy on Tuesday August 22, 2023 @12:07AM
(#37218572)
> Why did Firefox add that?
They didn't, Google did. It is part of MV3 specs, afaik.
Re:uBlock Origin Lite now available on Firefox
by z0ccc on Tuesday August 22, 2023 @02:34AM
(#37219400)
But Firefox still didn't have to implement the limit.
- one thing that is much less powerful is cosmetic filters, which means ads may be replaced with gray squares if uBOL can't remove them entirely
- less filters overall, because the limits on how many filters are possible are pretty strict
- extension updates will be both larger and much more frequent because filter lists can no longer be updated separately from the extension