[Tutor] Efficient word count
Jorge Louis De Castro
jorge at bcs.org.uk
Thu Jul 21 23:47:48 CEST 2005
I was wondering, and maybe this is because I come from a different programming language background, but is a word count using len(list) after a string.split, efficient if there are many words? Or should I write my own word count for large(ish) blocks of text (500-1000)?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Tutor