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