Erlend Egeberg Aasland <erlend.aasl...@innova.no> added the comment:

> I am not sure that the difference is significant enough to justify the 
> optimization.

I would guess it's negligible. I did some quick timeit tests, but the results 
were pretty much equal, so I guess I'd have to use a more precise benchmark 
method.

> But the code is already written in such form, and I am not sure that it is 
> worth to spend our time to change it.

Not even a 30% reduction in code size (for this function)?

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue43267>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to