
On 26/04/17 22:28, Paul Moore wrote:
On 26 April 2017 at 21:51, Erik <python@lucidity.plus.com> wrote:
It doesn't make anything more efficient, however all of the suggestions of how to do it with current syntax (mostly decorators) _do_ make things less efficient.
Is instance creation the performance bottleneck in your application?
No, not at all. This discussion has split into two: 1) How can I personally achieve what I want for my own personal use-cases. This should really be on -list, and some variation of the decorator thing will probably suffice for me. 2) The original proposal, which does belong on -ideas and has to take into account the general case, not just my specific use-case. The post you are responding to is part of (2), and hence reduced performance is a consideration. Regards, E.