Files
Julien Voisin 9aa9bc9483 perf: iterate s.policy.Bots by index to drop per-call heap copy (#1691)
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>
2026-06-17 23:05:19 +00:00
..
2026-05-30 00:48:43 -04:00
2026-05-30 00:48:43 -04:00
2026-05-30 00:48:43 -04:00
2026-04-24 14:37:19 +00:00
2026-05-30 00:48:43 -04:00