mirror of
https://github.com/TecharoHQ/anubis.git
synced 2026-07-02 16:46:41 +00:00
9aa9bc9483
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 <julien.voisin@dustri.org> Signed-off-by: Xe Iaso <xe.iaso@techaro.lol> Co-authored-by: Xe Iaso <xe.iaso@techaro.lol>