Wireshark-dev: [Wireshark-dev] proto_filter_names hash collision

From: "Kukosa, Tomas" <tomas.kukosa@xxxxxxxxxxx>
Date: Tue, 20 Nov 2007 13:02:10 +0100
It seems that we have reached critical number of protocols.
I have met collision of built in "p7" protoco with my private "nu" protocol. They both have the same g_str_hash() value.
 
Does it make sence to create hash from the protocol filter name which has usually 2-4 characters?
 
BTW the g_str_hash() for full protocol name takes quite much time during startup. Does it make sence to check full protocol name duplicity? Is not it enough to check short name and filter name duplicity?
 
Tomas