Pyhon 2.x or 3.x, which is faster?

Mark Lawrence breamoreboy at yahoo.co.uk
Thu Mar 10 08:18:15 EST 2016


On 10/03/2016 12:47, BartC wrote:
> On 10/03/2016 12:15, Mark Lawrence wrote:
>> On 10/03/2016 11:50, BartC wrote:
>
>>> Suppose you were on the development team that writes the optimising
>>> stages of a C compiler. You need to test the performance of the code it
>>> produces so that you can compare one optimisation with another. Would
>>> you:
>>>
>>> (a) Test only the code that is generated by your compiler
>>>
>>> (b) Include also the runtime of third-party libraries consisting of
>>> unknown code, written in an unknown language, with an unknown compiler
>>> and with unknown optimisation settings?
>>
>> What has an optimising C compiler got to do with the run time speed of
>> Python, which in many cases is perfectly adequate?
>
>> I'll repeat for
>> possibly the fourth time, the vast majority of people
>
> The vast majority aren't implementing the language!

No, they are complete weirdos called USERS.  Have you ever met any?

>
>> have no interest
>> in run time speed as they are fully aware that they'll be wasting their
>> precious development time, as they know that their code will be waiting
>> on the file, the database or the network.  What have you failed to grasp
>> about that?
>
> Tell that to the people who have been working on optimising compilers
> for the last couple of decades. Why bother making that inner loop 10%
> faster, when the program will most likely be blocked waiting for input
> anyway?
>
> You just don't get it.

At last you manage to get something correct, I do not get your obsession 
with run time speed.  For the fifth time, the vast majority of users 
simply do not care.  If it is fast enough, job done.

I have dealt with some complete dumbos in the years that I've been 
online, but when it comes to thickos you're right up there with the RUE, 
and I can assure you that this is meant to be an insult.

To your way of thinking run time speed is the sole issue with 
programming, and trivial details like accuracy are irrelevant. "Look, 
Python has taken a whole minute to process this data, but BartC has done 
it in one nanosecond". "Yes, but Python is 100% accurate, BartC is 100% 
inaccurate". "Who cares, only speed counts".

-- 
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for our language.

Mark Lawrence




More information about the Python-list mailing list