A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2009-September/091528.html below:

[Python-Dev] default of returning None hurts performance?

[Python-Dev] default of returning None hurts performance? [Python-Dev] default of returning None hurts performance?Xavier Morel catch-all at masklinn.net
Tue Sep 1 15:09:23 CEST 2009
On 1 Sep 2009, at 03:03 , Gregory P. Smith wrote:

> On Mon, Aug 31, 2009 at 5:01 PM, Greg Ewing <greg.ewing at canterbury.ac.nz 
> >wrote:
>
>> Antoine Pitrou wrote:
>>
>> Did your coworker run any timings instead of basing his assumptions  
>> on
>>> bytecode
>>> size?
>>>
>>
>> In any case, what are you suggesting -- that the last value
>> returned by a function call in the body should be the
>> default return value?
>>
>> I don't think the unpredictability that would introduce
>> would be a good idea.
>>
>
> gads no.  we're not shell or perl!  don't do that :)
"We" are not Erlang, Smalltalk, OCaml or Haskell either, sadly.
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4