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-08-27 14:38:48 +01:00
2026-11-10 21:07:39 +00:00
2026-11-11 07:44:55 +00:00
2026-10-10 07:28:46 +01:00
2026-08-27 14:38:48 +01:00
2026-10-07 08:42:12 +01:00
2026-10-22 16:24:06 +01:00
2026-11-10 21:07:39 +00:00
2026-08-27 14:38:48 +01:00
2026-09-21 20:16:32 +01:00
2026-11-10 16:14:08 +00:00
2026-10-05 13:22:26 +01:00
2026-11-04 08:50:13 +00:00
2026-08-27 14:38:48 +01:00
2026-11-04 08:50:13 +00:00
2026-11-10 08:35:51 +00:00
2026-08-27 14:38:48 +01:00
2026-08-27 14:38:48 +01:00
2026-08-27 14:38:48 +01:00
2026-11-04 08:50:13 +00:00
2026-10-05 13:22:27 +01:00
2026-10-21 10:39:23 +01:00
2026-08-27 14:38:48 +01:00
2026-11-04 08:50:13 +00:00
2026-11-09 11:31:02 +00:00
2026-11-09 16:35:07 +00:00
2026-08-27 14:38:48 +01:00
2026-11-09 15:52:20 +00:00
2026-10-21 18:00:06 +01:00
2026-10-22 16:24:06 +01:00
2026-11-06 07:05:23 +00:00
2026-10-21 09:04:44 +01:00
2026-09-28 13:21:15 +01:00
2026-11-11 07:44:55 +00:00
2026-11-04 14:37:14 +00:00
2026-08-27 14:38:48 +01:00
2026-11-04 07:21:38 +00:00
2026-10-07 08:19:15 +01:00
2026-11-06 07:05:23 +00:00
2026-08-27 14:38:48 +01:00
2026-08-27 14:38:48 +01:00
2026-08-27 14:38:48 +01:00
2026-08-27 14:38:48 +01:00
2026-08-27 14:38:48 +01:00
2026-11-04 07:21:38 +00:00
2026-08-27 14:38:48 +01:00
2026-08-27 14:38:48 +01:00
2026-09-28 13:21:19 +01:00
2026-11-04 08:50:13 +00:00
2026-08-27 14:38:48 +01:00
2026-11-04 14:37:14 +00:00
2026-09-29 10:22:18 +01:00
2026-08-27 14:38:48 +01:00
2026-08-27 14:38:48 +01:00
2026-08-27 14:38:48 +01:00
2026-08-27 14:38:48 +01:00
2026-10-21 18:00:05 +01:00
2026-08-27 14:38:48 +01:00
2026-08-27 14:38:48 +01:00
2026-10-21 09:02:07 +01:00
2026-08-27 14:38:48 +01:00
2026-08-27 14:38:48 +01:00
2026-11-04 08:50:13 +00:00
2026-08-27 14:38:48 +01:00
2026-11-09 16:35:07 +00:00
2026-10-21 09:02:07 +01:00
2026-11-10 21:07:39 +00:00
2026-10-21 18:37:03 +01:00
2026-08-27 14:38:48 +01:00
2026-09-28 14:04:31 +01:00
2026-08-27 14:38:48 +01:00
2026-08-27 14:38:48 +01:00
2026-09-28 09:57:52 +01:00
2026-08-27 14:38:48 +01:00
2026-08-27 14:38:48 +01:00
2026-08-27 14:38:48 +01:00
2026-08-27 14:38:48 +01:00
2026-11-04 08:50:13 +00:00
2026-11-10 08:35:51 +00:00
2026-08-27 14:38:48 +01:00
2026-08-27 14:38:48 +01:00
2026-08-27 14:38:48 +01:00
2026-08-27 14:38:48 +01:00