Anders Broman <[email protected]>
>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
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <[email protected]>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:[email protected]?subject=unsubscribe

Reply via email to