|
From: Geoff H. <ghu...@ws...> - 2002-06-18 04:13:10
|
I've been working on the mifluz merge, which required some changes to
Retriever::got_word and I saw this towards the top.
if (w.length() >= minimumWordLength) {
wordRef.Word(w);
words.Replace(...);
}
// Check for compound words...
It seems like we could save some time here and just return if the word
is short and do this even sooner in the method, e.g.
if (trackWords)
{
if (strlen(word) < minimumWordLength)
return;
String w = word;
...
This saves updating the wordRef, the word component code, etc. Anything
obviously wrong with this?
-Geoff
|