Static typing [was Re: Python and the need for speed]

Chris Angelico rosuav at
Sun Apr 16 15:26:13 EDT 2017

On Mon, Apr 17, 2017 at 5:16 AM, bartc <bc at> wrote:
> On 16/04/2017 20:00, Chris Angelico wrote:
>> On Mon, Apr 17, 2017 at 4:43 AM, bartc <bc at> wrote:
>> Sure! If all you care about is winning benchmarks,
> The benchmarks should be about comparing things. But they have to be like
> for like.

You're the one who suggested using a formula to calculate the sum of a
sequence of integers.

> But it was OK for Steve to 'win' the benchmark by substituting my test
> code with something only vaguely related, and much simpler?

Steven was, far as I can tell, reimplementing the same algorithm in
more Pythonic code. But I'm not sure. I didn't look at the details.


More information about the Python-list mailing list