susumu.yata
null+****@clear*****
Mon Mar 25 10:03:01 JST 2013
susumu.yata 2013-03-25 10:03:01 +0900 (Mon, 25 Mar 2013) New Revision: 3b2ec294d927a8b3f9190c98ab5ad3f738138d18 https://github.com/groonga/grnxx/commit/3b2ec294d927a8b3f9190c98ab5ad3f738138d18 Message: Use get_char_size(), instead of get_char(), for fast scan. Modified files: lib/grnxx/map.cpp Modified: lib/grnxx/map.cpp (+1 -1) =================================================================== --- lib/grnxx/map.cpp 2013-03-25 10:02:16 +0900 (6166be2) +++ lib/grnxx/map.cpp 2013-03-25 10:03:01 +0900 (5126462) @@ -55,7 +55,7 @@ bool MapScan::next() { } // Move to the next character. if (charset_) { - offset_ += charset_->get_char(query_left).size(); + offset_ += charset_->get_char_size(query_left); } else { ++offset_; } -------------- next part -------------- HTML����������������������������...Download