|
From: | Norihiro Tanaka |
Subject: | bug#18806: grep -rP getline crashes prematurely (without displaying all results) on invalid UTF-8 input with LC_ALL=en_US.UTF-8 |
Date: | Sat, 25 Oct 2014 08:58:02 +0900 |
Paul Eggert <address@hidden> wrote: > The optimization was a hack anyway, and these bugs suggest that it's> > not a hack worth keeping. Thanks. I improved this hack instead of removal, but it had little effect in comparison with your patch, even if `execute' ran for each character. $ yes j | head -1000000 >k (Current master): $ time -p src/grep -Po j ../k >/dev/null real 0.46 user 0.40 sys 0.02 (My patch): $ time -p src/grep -Po j ../k >/dev/null real 0.46 user 0.41 sys 0.01
[Prev in Thread] | Current Thread | [Next in Thread] |