matching one time through a loop
Sean 'Shaleh' Perry
shalehperry at attbi.com
Thu May 30 19:18:53 EDT 2002
On 30-May-2002 Delaney, Timothy wrote:
>> From: Corey G. [mailto:ctgaff at attbi.com]
>>
>> This comment made me realize just how little I know about
>> Python. Well,
>> it's only been 3 days now, but none the less.
>>
>> By moving the regex out of the loop and only compiling it once, the
>> script is 3x faster than before and now out performs my original Perl
>> script.
>
> This needs to be added to the comparisons page ;)
>
depends, was it naive perl too?
More information about the Python-list
mailing list