Anders Broman <anders.broman@xxxxxxxxxxxx>
>Use g_hastable_new_full() gint version and stuff the value_string into the hash table
>In proto_register, then have proto.c extract the value. Alternatively we could perhaps
>Pass a "get_value" function pointer?
> I'm not sure this will work :-)
I may have missed it, but have we measured to see if this is worth optimizing in the first place? Does this actually take an appreciable amount of time? If not, I think I'd favor choosing code clarity over an inconsequential speedup.
Ed