diff options
author | Not Zed <NotZed@Ximian.com> | 2002-03-26 06:58:13 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2002-03-26 06:58:13 +0800 |
commit | d027c45269f4f8b4baea949caa5cf32eb917c96f (patch) | |
tree | 0b33e6d5274ca050cf1a5854fe0795d54d91ca1a /camel/camel-text-index.c | |
parent | 059e9b33f122b3f29f757705634955df8dff3276 (diff) | |
download | gsoc2013-evolution-d027c45269f4f8b4baea949caa5cf32eb917c96f.tar.gz gsoc2013-evolution-d027c45269f4f8b4baea949caa5cf32eb917c96f.tar.zst gsoc2013-evolution-d027c45269f4f8b4baea949caa5cf32eb917c96f.zip |
Changed to use just g_utf8_strdown instead of utf8_normalise, to match the
2002-03-26 Not Zed <NotZed@Ximian.com>
* camel-text-index.c (text_index_normalise): Changed to use just
g_utf8_strdown instead of utf8_normalise, to match the indexing
code. utf8_normalise is just far too expensive (saves approx 25%
total processing).
svn path=/trunk/; revision=16250
Diffstat (limited to 'camel/camel-text-index.c')
-rw-r--r-- | camel/camel-text-index.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/camel/camel-text-index.c b/camel/camel-text-index.c index 7ad069d90c..5b5a349c84 100644 --- a/camel/camel-text-index.c +++ b/camel/camel-text-index.c @@ -753,8 +753,8 @@ text_index_normalise(CamelIndex *idx, const char *in, void *data) { char *word; - /* Sigh, this is really epensive */ - word = g_utf8_normalize(in, strlen(in), G_NORMALIZE_ALL); + /* Sigh, this is really expensive */ + word = g_strdup(in); /*g_utf8_normalize(in, strlen(in), G_NORMALIZE_ALL);*/ g_utf8_strdown(word); return word; |