Bug#475474: bug: #65458 (Re: Bug#475474: sed: performance anomaly of /^$/)

2008-05-19 Thread Oleg Verych
#65458 is the same bug, but in the deep past. http://bugs.debian.org/65458 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]

Bug#475474: sed: performance anomaly of /^$/

2008-04-11 Thread Paolo Bonzini
The '/^$/' thing generally slows down processing very much. But it should IMHO speed it up, because it skips empty lines before any processing in particular part of the script. Yes, this is a bug. The check that speeds up anchored search misdetects /^$/ as a not-necessarily-anchored search.

Bug#475474: sed: performance anomaly of /^$/

2008-04-11 Thread Paolo Bonzini
patch sent upstream http://lists.gnu.org/archive/html/bug-gnulib/2008-04/msg00097.html Paolo -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]

Bug#475474: sed: performance anomaly of /^$/

2008-04-11 Thread Clint Adams
reassign 475474 libc6 quit On Fri, Apr 11, 2008 at 08:48:45AM +0200, Paolo Bonzini wrote: Yes, this is a bug. The check that speeds up anchored search misdetects /^$/ as a not-necessarily-anchored search. Can this be reassigned to glibc? Yes. -- To UNSUBSCRIBE, email to [EMAIL

Bug#475474: sed: performance anomaly of /^$/

2008-04-10 Thread Oleg Verych
Package: sed Version: 4.1.5-1 Severity: normal [EMAIL PROTECTED] time sed -n '/^[^=]/p' func.def-notype | wc -l 177725 real0m0.181s user0m0.172s sys 0m0.040s [EMAIL PROTECTED] time sed -n '/^=/b; /^./p' func.def-notype | wc -l 177725 real0m0.219s user0m0.212s sys