sobering observation, python vs. perl

Charles T. Smith cts.private.yahoo at gmail.com
Thu Mar 17 13:35:02 EDT 2016


On Thu, 17 Mar 2016 10:26:12 -0700, Ethan Furman wrote:

> On 03/17/2016 09:36 AM, Charles T. Smith wrote:
> 
>> Yes, your point was to forgo REs despite that they are useful.
>> I could have thought the search would have been better as:
>>
>>      'release[-.:][Rr]eq'
>>
>> or something else ... you're in a "defend python at all costs!" mode.
> 
> No, I'm in the "don't try to write <language X> in Python" mode, and 
> "don't use 10lb sledge when 6oz hammer will do" mode:


Yes, fine.

I'd only like to add that the perl numbers might also improve
if the print in the loop were postponed.



More information about the Python-list mailing list