[Python-Dev] cpython: Use cached builtins.

Ned Batchelder ned at nedbatchelder.com
Wed Oct 2 20:51:59 CEST 2013


On 10/2/13 1:31 PM, Antoine Pitrou wrote:
> On Wed,  2 Oct 2013 18:16:48 +0200 (CEST)
> serhiy.storchaka <python-checkins at python.org> wrote:
>> http://hg.python.org/cpython/rev/d48ac94e365f
>> changeset:   85931:d48ac94e365f
>> user:        Serhiy Storchaka <storchaka at gmail.com>
>> date:        Wed Oct 02 19:15:54 2013 +0300
>> summary:
>>    Use cached builtins.
> What's the point? I don't think it's a good idea to uglify the code if
> there isn't a clear benefit.

This type of micro-optimization seems especially unnecessary in a module 
intended for printing.

--Ned.

> Regards
>
> Antoine.
>
>
> _______________________________________________
> Python-Dev mailing list
> Python-Dev at python.org
> https://mail.python.org/mailman/listinfo/python-dev
> Unsubscribe: https://mail.python.org/mailman/options/python-dev/ned%40nedbatchelder.com



More information about the Python-Dev mailing list