[ovs-discuss] [OVN][RFC] ovn-northd simple optimization converting uuid from string
blp at ovn.org
Mon Feb 5 17:43:08 UTC 2018
On Sat, Feb 03, 2018 at 09:10:16AM +0100, Daniel Alvarez Sanchez wrote:
> Thanks Ben,
> On Sat, Feb 3, 2018 at 12:16 AM, Ben Pfaff <blp at ovn.org> wrote:
> > Nice finding!
> > I don't think it's necessary to inline this into the header file to get
> > the speedup, since its caller along the uuid_from_string() call chain is
> > in the same file as hexit_value().
> I did this because hexit_value() is called also from scan_int(), which is
> called by ovs_scan(). The former was called around > 20K times in my
> run. But it's also in util.c so that's fine :)
Fair enough, thanks!
More information about the discuss