mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 17:34:18 +03:00
65366bd960
Use a simple if "substr" in line before running a regular expression, which saves time, especially if the regex has a capture group. This reduces runtime of the check by almost 78 % for me. Signed-off-by: Ján Tomko <jtomko@redhat.com> Reviewed-by: Daniel Henrique Barboza <danielhb413@gmail.com> Reviewed-by: Erik Skultety <eskultet@redhat.com> |
||
---|---|---|
.. | ||
augeas-gentest.py | ||
check-aclperms.py | ||
check-aclrules.py | ||
check-driverimpls.py | ||
check-drivername.py | ||
check-symfile.py | ||
check-symsorting.py | ||
cocci-macro-file.h | ||
dtrace2systemtap.py | ||
genpolkit.py | ||
gensystemtap.py | ||
header-ifdef.py | ||
minimize-po.py | ||
mock-noinline.py | ||
prohibit-duplicate-header.py |