Acked-by: Mark Michelson
On 2/27/23 15:03, Ilya Maximets wrote:
In many cases OVN components are using strlen() to check if the string
is not empty. In that case, unnecessary scan of the whole string is
performed and the length is calculated, while it's enough to just check
the first byte.
So
On Mon, Feb 27, 2023 at 09:03:42PM +0100, Ilya Maximets wrote:
> In many cases OVN components are using strlen() to check if the string
> is not empty. In that case, unnecessary scan of the whole string is
> performed and the length is calculated, while it's enough to just check
> the first byte.
In many cases OVN components are using strlen() to check if the string
is not empty. In that case, unnecessary scan of the whole string is
performed and the length is calculated, while it's enough to just check
the first byte.
Some functions also have completely unnecessary strlen() calls where
n