[Groonga-commit] groonga/groonga at ed300a8 [master] benchmark nfkc: optimize

Back to archive index

Kouhei Sutou null+****@clear*****
Thu Jun 23 13:29:56 JST 2016


Kouhei Sutou	2016-06-23 13:29:56 +0900 (Thu, 23 Jun 2016)

  New Revision: ed300a833d44eaefa978b5ecf46a96ef91ae0891
  https://github.com/groonga/groonga/commit/ed300a833d44eaefa978b5ecf46a96ef91ae0891

  Message:
    benchmark nfkc: optimize

  Modified files:
    benchmark/bench-nfkc.c

  Modified: benchmark/bench-nfkc.c (+1 -1)
===================================================================
--- benchmark/bench-nfkc.c    2016-06-23 13:22:50 +0900 (50f07dc)
+++ benchmark/bench-nfkc.c    2016-06-23 13:29:56 +0900 (4254f2a)
@@ -38,7 +38,7 @@ const char *grn_nfkc50_map2(const unsigned char *prefix,
 #define MAX_UNICODE 0x110000
 #define BUFFER_SIZE 0x100
 
-static int
+static inline int
 ucs2utf8(unsigned int i, unsigned char *buf)
 {
   unsigned char *p = buf;
-------------- next part --------------
HTML����������������������������...
下載 



More information about the Groonga-commit mailing list
Back to archive index