[FEEDBACK] Is this script efficient...is there a better way?

Steve Holden sholden at holdenweb.com
Thu Sep 12 00:04:39 EDT 2002


"Bob X" <bobx at linuxmail.org> wrote ...
[ ... ]
> >
> Thank you very much...your shorter script did work. The keywords are all
> "normal" english words that would not have any special characters. I
> only added a re.IGNORECASE (since case doesn't matter to me) after a
> quick search of the python docs.
>
Was there any significant difference in the timings for the two different
methods, and how does the number of different keywords affect the timings?

regards
-----------------------------------------------------------------------
Steve Holden                                  http://www.holdenweb.com/
Python Web Programming                 http://pydish.holdenweb.com/pwp/
Previous .sig file retired to                    www.homeforoldsigs.com
-----------------------------------------------------------------------






More information about the Python-list mailing list