Files
Wez Furlong 81f191dff6 config: improve typing.lua performance for queues.lua
Add some internal functions that return the set of valid field
names for the various make_XXX config building lua functions
so that we can change the cost of validating the helper config
types via typing.lua from O(N) relatively expensive individual
calls through lua/mlua/rust into O(1) lua table lookups.

This takes the cost of loading a 2000 entry queues.toml down
from an uncomfortable 300ms to below 50ms and the cost of
the get_queue_config event handler down from 240us to 10us.

The same pattern is also applied to listener_domains.lua
and sources.lua.
2026-11-11 07:44:55 +00:00
..
2025-07-23 16:51:06 +01:00
2025-11-19 07:57:37 +00:00
2025-07-23 16:51:06 +01:00
2025-07-23 16:51:06 +01:00