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
..
2026-10-05 13:22:27 +01:00
2026-10-09 17:47:51 +01:00
2026-11-04 07:21:38 +00:00
2026-11-10 16:14:08 +00:00
2026-09-23 15:26:24 +01:00
2025-07-18 12:11:14 -04:00
2026-09-23 15:26:24 +01:00
2026-11-09 16:35:07 +00:00
2026-11-09 16:35:07 +00:00
2025-05-16 14:02:19 -07:00
2025-10-07 07:38:10 +01:00
2025-05-16 14:02:19 -07:00
2025-05-16 14:02:19 -07:00
2026-09-23 15:26:24 +01:00
2026-09-23 15:26:24 +01:00
2025-05-16 14:02:19 -07:00
2025-12-02 11:11:05 +00:00
2026-10-08 06:47:54 +01:00
2025-05-16 14:02:19 -07:00
2025-05-16 14:02:19 -07:00
2025-10-07 07:38:10 +01:00
2026-11-11 07:44:55 +00:00
2025-05-16 14:02:19 -07:00
2026-09-23 15:26:24 +01:00
2026-09-23 15:26:24 +01:00
2026-09-23 15:26:24 +01:00
2026-10-07 08:19:38 +01:00
2026-03-04 08:03:21 +00:00
2026-03-04 08:03:21 +00:00
2026-03-04 08:03:21 +00:00
2025-07-23 16:51:06 +01:00
2025-10-07 07:38:10 +01:00
2025-11-19 07:57:37 +00:00
2025-12-02 11:11:05 +00:00
2025-12-02 11:11:05 +00:00
2025-11-14 07:04:58 +00:00
2025-05-16 14:02:19 -07:00
2025-05-16 14:02:19 -07:00
2025-05-16 14:02:19 -07:00
2025-05-16 14:02:19 -07:00
2026-11-11 07:44:55 +00:00
2025-05-16 14:02:19 -07:00
2025-05-16 14:02:19 -07:00
2025-05-16 14:02:19 -07:00
2025-05-16 14:02:19 -07:00
2025-10-07 07:38:10 +01:00
2025-05-16 14:02:19 -07:00
2026-11-04 14:37:14 +00:00
2025-05-16 14:02:19 -07:00
2026-11-11 07:44:55 +00:00
2025-07-23 16:51:06 +01:00
2025-05-16 14:02:19 -07:00
2025-05-16 14:02:19 -07:00
2025-05-16 14:02:19 -07:00
2026-10-14 14:01:32 +01:00
2025-05-16 14:02:19 -07:00
2025-05-16 14:02:19 -07:00
2025-05-16 14:02:19 -07:00
2026-02-04 11:45:11 +00:00
2025-05-16 14:02:19 -07:00
2025-05-16 14:02:19 -07:00
2025-05-16 14:02:19 -07:00
2025-05-16 14:02:19 -07:00
2025-05-16 14:02:19 -07:00
2025-05-16 14:02:19 -07:00
2025-05-16 14:02:19 -07:00
2025-05-16 14:02:19 -07:00
2025-05-16 14:02:19 -07:00
2025-08-25 22:20:23 -04:00
2025-05-16 14:02:19 -07:00
2025-05-16 14:02:19 -07:00
2025-05-16 14:02:19 -07:00
2026-09-23 15:26:24 +01:00
2025-05-16 14:02:19 -07:00
2025-05-16 14:02:19 -07:00
2025-05-16 14:02:19 -07:00
2025-05-16 14:02:19 -07:00
2025-07-23 16:51:06 +01:00
2025-12-02 11:11:05 +00:00