Bug#871835: more speedup

2017-09-19 Thread Ben Hutchings
On Tue, 2017-09-19 at 17:24 +0200, Thomas Lange wrote: > I could also add a test, to check if grep supports -P. If not, don't > use it. Does a non-GNU grep use -P for other things? If you use the long option (--perl-regexp) there should be no danger of collision. Ben. -- Ben Hutchings Beware of

Bug#871835: more speedup

2017-09-19 Thread Thomas Lange
I could also add a test, to check if grep supports -P. If not, don't use it. Does a non-GNU grep use -P for other things? -- regards Thomas

Bug#871835: more speedup

2017-09-10 Thread Ben Hutchings
On Mon, 2017-09-11 at 00:40 +0200, Thomas Lange wrote: > Here's another patch, that improves speed. It needs grep -P which is > not available in busybox. But I do not know if debootstrap is used in > a busybox enviroment. It's meant to be able to run on non-GNU systems, including those using busyb

Bug#871835: more speedup

2017-09-10 Thread Thomas Lange
Here's another patch, that improves speed. It needs grep -P which is not available in busybox. But I do not know if debootstrap is used in a busybox enviroment. The execution time is now real0m39.141s user0m38.924s sys 0m2.980s So the user time drops from 50 to under 40 seconds on a