bug-grep
[Top][All Lists]
Advanced

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

[bug #14472] grep is slow in multibyte locales


From: Andreas Schwab
Subject: [bug #14472] grep is slow in multibyte locales
Date: Thu, 8 Sep 2005 15:44:07 +0200
User-agent: Mozilla/5.0 (compatible; Konqueror/3.4; Linux 2.6.13-rc6-git13-4-default; ia64) KHTML/3.4.2 (like Gecko)

URL:
  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=14472>

                 Summary: grep is slow in multibyte locales
                 Project: grep
            Submitted by: schwab
            Submitted on: Thu 09/08/05 at 15:44
                Category: None
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open

    _______________________________________________________

Details:

When running in a multibyte locale dfaexec calls mbrtowc much too often. 
Note how the calls sum up to more then two thirds of the total run time.  The
input was a ~4000 line file.





    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Thu 09/08/05 at 15:44  Name: yy  Size: 95.27KB   By: schwab
gprof output
<http://savannah.gnu.org/bugs/download.php?item_id=14472&item_file_id=2933>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=14472>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

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