]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
lib-fts: Removed TODO comment.
authorTeemu Huovila <teemu.huovila@dovecot.fi>
Tue, 17 Nov 2015 09:45:24 +0000 (11:45 +0200)
committerTeemu Huovila <teemu.huovila@dovecot.fi>
Tue, 17 Nov 2015 09:45:24 +0000 (11:45 +0200)
The call to uni_utf8_get_char_n() already does easy cases first.
Adding more special code paths is not necessary.

src/lib-fts/fts-tokenizer-generic.c

index b02b20c85c3424fc86902563441b029a5dbe7ab3..22c3605ad4d82dd93071369a47a029ac9204c626 100644 (file)
@@ -678,7 +678,6 @@ fts_tokenizer_generic_tr29_next(struct fts_tokenizer *_tok,
        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);