[PATCH 2/6] Attach input profiles and build corresponding LUTs
Jasper St. Pierre
jstpierre at mecheye.net
Mon Oct 27 11:08:02 PDT 2014
> 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.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the wayland-devel