[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #24903] grep multiple items is really slow

From: Kremer David Jean-Pierre
Subject: [bug #24903] grep multiple items is really slow
Date: Sat, 22 Nov 2008 19:31:14 +0000
User-agent: Mozilla/5.0 (compatible; Konqueror/4.1; Linux) KHTML/4.1.3 (like Gecko)


                 Summary: grep multiple items is really slow
                 Project: grep
            Submitted by: dkremer_me
            Submitted on: sam 22 nov 2008 19:31:12 GMT
                Category: None
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any



Hello. I have noticed that performing a search with multiple items
(expression made of OR logical operators) is very slow.

grep '\(something\|another\|else\|what\|you\|want\)' my_large_file is really,
really, and incredibly slow.

When a normal pattern research takes 40 minutes on my file, this takes more
than four hours (and more).

So, I think it's a big performance problem, and should be resolved, but I
don't know exactly why this happens. I will take a look in the source code

See you later.


Reply to this item at:


  Message posté via/par Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]