fn ComptimeStringMap(comptime V: type, comptime kvs_list: anytype) type
[src]
Comptime string map optimized for small sets of disparate string keys. Works by separating the keys by length at comptime and only checking strings of equal length at runtime.
kvs_list
expects a list of struct { []const u8, V }
(key-value pair) tuples. You can pass struct { []const u8 }
(only keys) tuples if V
is void
.