dovecot-2.2: lib-fts: Removed TODO comment.

dovecot at dovecot.org dovecot at dovecot.org
Tue Nov 17 09:56:37 UTC 2015


details:   http://hg.dovecot.org/dovecot-2.2/rev/f015c3dc7b4b
changeset: 19376:f015c3dc7b4b
user:      Teemu Huovila <teemu.huovila at dovecot.fi>
date:      Tue Nov 17 11:45:24 2015 +0200
description:
lib-fts: Removed TODO comment.
The call to uni_utf8_get_char_n() already does easy cases first.
Adding more special code paths is not necessary.

diffstat:

 src/lib-fts/fts-tokenizer-generic.c |  1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diffs (11 lines):

diff -r af09ba0a1360 -r f015c3dc7b4b src/lib-fts/fts-tokenizer-generic.c
--- a/src/lib-fts/fts-tokenizer-generic.c	Tue Nov 17 11:44:53 2015 +0200
+++ b/src/lib-fts/fts-tokenizer-generic.c	Tue Nov 17 11:45:24 2015 +0200
@@ -678,7 +678,6 @@
 	enum letter_type lt;
 	int char_size;
 
-	/* TODO: Process 8bit chars separately, to speed things up. */
 	for (i = 0; i < size; ) {
 		char_start_i = i;
 		char_size = uni_utf8_get_char_n(data + i, size - i, &c);


More information about the dovecot-cvs mailing list