Performance of int/long in Python 3

Roy Smith roy at panix.com
Mon Apr 1 16:31:59 EDT 2013


In article <5159beb6$0$29967$c3e8da3$5496439d at news.astraweb.com>,
Steven D'Aprano  <steve+comp.lang.python at pearwood.info> wrote:
>> The import job isn't done yet, but so far we've processed 116 million
>> records and had to clean up four of them.  I can live with that.
>> Sometimes practicality trumps correctness.
>
>Well, true. It has to be said that few programming languages (and 
>databases) make it easy to do the right thing. On the other hand, you're 
>a programmer. Your job is to write correct code, not easy code.

This is really getting off topic, but fundamentally, I'm an engineer.
My job is to build stuff that make money for my company.  That means
making judgement calls about what's not worth fixing, because the cost
to fix it exceeds the value.



More information about the Python-list mailing list