C
CBFalconer
Hallvard said:Thanks to several people for answers and explanations, in particular
websnarf. A few details:
.... snip ...
Actually that was quite wrong, I seem to have counted a test sample
instead or something at a late night. 5-6 letters is more like it
for some inputs, ~10 for others.
Aah, of course.
Of course the overhead of splitting off the long strings, and thus
of calling strlen on them, will probably overshadow any gains,
especially when the expected lengths are short. You can't really
say anything without making measurements on the actual data.
--
Some informative links:
< <http://www.geocities.com/nnqweb/>
<http://www.catb.org/~esr/faqs/smart-questions.html>
<http://www.caliburn.nl/topposting.html>
<http://www.netmeister.org/news/learn2quote.html>
<http://cfaj.freeshell.org/google/>