diff options
author | Jean Delvare <jdelvare@suse.de> | 2014-02-15 18:43:41 +0100 |
---|---|---|
committer | Jean Delvare <jdelvare@suse.de> | 2014-02-15 18:43:41 +0100 |
commit | 1b95644e3a00f07a6711c881d2dcdac14206a57e (patch) | |
tree | 9f12faf33fe36ffa75ffcca7d6ae51c91506a016 /test/nolink.test | |
parent | d62e6cdff01c3c920c48cc7d52bde41f327df25b (diff) | |
download | quilt-1b95644e3a00f07a6711c881d2dcdac14206a57e.tar.gz |
patches: Optimize processing of unapplied patches
* Don't check for $strip = ab twice, once is enough.
* Quote the file names to be suitable in regular expressions only
once, instead of doing it again for every patch. This fixes a
performance regression introduced in 8ebb056d ("patches: Add
support for multiple files"), sorry about that.
These two simple changes bring a huge performance boost on unapplied
patches, of about 50% in the single file case and growing as you add
files.
Diffstat (limited to 'test/nolink.test')
0 files changed, 0 insertions, 0 deletions