sobering observation, python vs. perl
Ethan Furman
ethan at stoneleaf.us
Thu Mar 17 14:21:54 EDT 2016
On 03/17/2016 10:35 AM, Charles T. Smith wrote:
> 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.
Yup, might! Try it and see.
--
~Ethan~
More information about the Python-list
mailing list