On 11/22/21 01:09, Ilya Maximets wrote:
> ovsdb_atom_string and json_string are basically the same data structure
> and ovsdb-server frequently needs to convert one to another.  We can
> avoid that by using json_string from the beginning for all ovsdb
> strings.  So, the conversion turns into simple json_clone(), i.e.
> increment of a reference counter.  This change doesn't give any
> significant performance boost, but it improves the code clarity and
> may be useful for future development.
> 
> Signed-off-by: Ilya Maximets <[email protected]>
> ---

I'm assuming this also doesn't cause a visible performance hit because
of extra, non-inlined, calls to json_string(), right?  Then:

Acked-by: Dumitru Ceara <[email protected]>

Thanks!

_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to