<p dir="ltr"><br>
> Wayland has a wl_map data structure; could that be used instead of<br>
> GHashTable, in order to avoid the glib dependency?</p>
<p dir="ltr">wl_map is not designed as a general hash map data structure. If we don't want to use GHashTable, then the closest alternative is a linear scan over a list. Which, really, is actually faster than a hash table for sizes less than 100 or so. I'd just do that.</p>