Module adblock::regex_manager
source · Expand description
Compiled regexes can take up large amounts of memory. To reduce the overall memory footprint of
the crate::Engine
, infrequently used regexes can be discarded. The RegexManager
is
responsible for managing the storage of regexes used by filters.
Structs§
- A manager that creates and stores all regular expressions used by filters. Rarely used entries are discarded to save memory.
- Used for customization of regex discarding behavior in the
RegexManager
.