grep-commit
[Top][All Lists]
Advanced

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

grep branch, master, updated. v2.18-111-ged0c7d5


From: Paul Eggert
Subject: grep branch, master, updated. v2.18-111-ged0c7d5
Date: Wed, 30 Apr 2014 01:35:22 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "grep".

The branch, master has been updated
       via  ed0c7d559baf344db2b887256ccae8843e99efa8 (commit)
      from  040685d071bee2354b2a598db96cf969c50d0d62 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://git.savannah.gnu.org/cgit/grep.git/commit/?id=ed0c7d559baf344db2b887256ccae8843e99efa8


commit ed0c7d559baf344db2b887256ccae8843e99efa8
Author: Norihiro Tanaka <address@hidden>
Date:   Mon Apr 28 21:28:51 2014 +0900

    kwset: improve performance by inlining tr
    
    Without this change, older versions of GCC won't inline 'tr', and this
    can hurt performance significantly.  See: http://bugs.gnu.org/17229#64
    * src/kwset.c (tr): Make it inline.

diff --git a/src/kwset.c b/src/kwset.c
index 8e9b510..6d21893 100644
--- a/src/kwset.c
+++ b/src/kwset.c
@@ -114,7 +114,7 @@ struct kwset
 };
 
 /* Use TRANS to transliterate C.  A null TRANS does no transliteration.  */
-static char
+static inline char
 tr (char const *trans, char c)
 {
   return trans ? trans[U(c)] : c;

-----------------------------------------------------------------------

Summary of changes:
 src/kwset.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
grep



reply via email to

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