Serhiy Storchaka <[email protected]> added the comment:

I prefer the existing code too.

But I'm surprised that this change has a measurable effects at all. I thought 
that creating a closure is cheaper. Of course it is much faster than creating a 
class. Maybe it is worth to spend some time for optimizing closure creation.

----------

_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue31753>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to