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