Using HMAP_FOR_EACH_SAFE_WITH_HASH tends to imply that an hmap can have
more than one item with a given key.  Nothing prevents that, and it will
otherwise work, but it is unusual and it normally makes sense to use an
hindex instead of an hmap for efficiency's sake if it is going to happen
very often.  Does the data structure in question often have duplicates?
Should we change it to an hindex?
_______________________________________________
dev mailing list
d...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to