mirror of
https://github.com/TecharoHQ/anubis.git
synced 2026-07-22 13:22:21 +00:00
This commit removes a per-iteration heap allocation and Bot copy, which isn't negligible when the number of rules starts to grow. This is based on https://github.com/TecharoHQ/anubis/pull/1639 with fixes/suggestions from @JasonLovesDoggo (https://github.com/TecharoHQ/anubis/pull/1639#discussion_r3296352016) Signed-off-by: jvoisin <[email protected]> Signed-off-by: Xe Iaso <[email protected]> Co-authored-by: Xe Iaso <[email protected]>