On Thu, Sep 22, 2011 at 01:50:26PM -0700, Jesse Gross wrote: > On Thu, Sep 22, 2011 at 11:33 AM, Ben Pfaff <[email protected]> wrote: > > In find_dpif(), as a micro-optimization you could use > > HMAP_FOR_EACH_IN_BUCKET in place of HMAP_FOR_EACH_WITH_HASH. > > You mean because comparing the ifindex is just as cheap as comparing a > hash and doing both is redundant?
Yes. _______________________________________________ dev mailing list [email protected] http://openvswitch.org/mailman/listinfo/dev
