bug#22357: grep -f not only huge memory usage, but also huge time cost

2016-03-14 Thread Norihiro Tanaka
On Mon, 14 Mar 2016 14:31:50 +0800 JQK wrote: > # env time grep -w -f <(seq 20) <(shuf -i 1-20 -n 250) > : > 288.77user 64.23system 10:35.71elapsed 55%CPU (0avgtext+0avgdata > 3492784maxresident)k > 8967032inputs+0outputs (154389major+1493890minor)pagefaults 0swaps The issue also reproced

bug#22357: grep -f not only huge memory usage, but also huge time cost

2016-03-14 Thread Bruce Dubbs
JQK wrote: 【without option "-F"】 # env time grep -w -f <(seq 20) <(shuf -i 1-20 -n 250) : 288.77user 64.23system 10:35.71elapsed 55%CPU (0avgtext+0avgdata 3492784maxresident)k 8967032inputs+0outputs (154389major+1493890minor)pagefaults 0swaps I certainly have different results. There