> Wayland has a wl_map data structure; could that be used instead of
> GHashTable, in order to avoid the glib dependency?

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.
_______________________________________________
wayland-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/wayland-devel

Reply via email to