forked from josch/mmdebstrap
tarfilter: Compile prefix pattern only once
According to Debian bug #978742, mmtarfilter has a slow performance with many path exclusions. The execution can be speed up if the regular expression is only compiled once instead of every time in the hot loop. Signed-off-by: Benjamin Drung <benjamin.drung@cloud.ionos.com>main
parent
5fd1ca62d9
commit
043ab3bbf0
Loading…
Reference in New Issue