On Wed, Nov 20, 2019 at 07:32:44PM +0100, Ján Tomko wrote:
> Running regular expressions with capture groups is expensive.
> Bail out early if the line does not start with a '#'.
>
> This reduces the runtime of the check by two thirds.
>
> Signed-off-by: Ján Tomko <[email protected]>
> ---
Reviewed-by: Erik Skultety <[email protected]>

--
libvir-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/libvir-list

Reply via email to