Open atenart opened 1 year ago
Instead of compiling the hook for a given filter choice (F_AND, F_OR, HOOK_RAW) set a flag when registering the hook in the Rust part.
F_AND
F_OR
HOOK_RAW
This will allow to make decisions earlier in the common part to aggregate the filtering result with the hooks needs early on:
As part of this we should also move the common part handling of the events to after the hooks ran, so we can skip it if no event was generated.
Instead of compiling the hook for a given filter choice (
F_AND
,F_OR
,HOOK_RAW
) set a flag when registering the hook in the Rust part.This will allow to make decisions earlier in the common part to aggregate the filtering result with the hooks needs early on:
As part of this we should also move the common part handling of the events to after the hooks ran, so we can skip it if no event was generated.