
On 09/12/2019 2:15 pm, Chris Angelico wrote:
On Tue, Dec 10, 2019 at 1:09 AM Mark Shannon <mark@hotpy.org> wrote:
Bear in mind that the costs of higher limits are paid by everyone, but the benefits are gained by few.
Can we get some stats on what the costs of higher limits (or having no limit at all) is? Or, putting it the other way: Since CPython currently does not enforce limits, what are the benefits of placing those limits? Merely having a limit doesn't in itself give a benefit (and is a (minor) cost); it would help the discussion if we knew exactly WHAT the costs of the higher limits were.
Given there is an infinite number of potential optimizations that it would enable, it is a bit hard to put a number on it :) It is also impossible to put precise numbers on the speedups of a particular optimizations unless it is implemented. I suspect no one is going to do that unless paid to do so, or are guaranteed that the work won't be thrown away because the PEP is rejected. Cheers, Mark.
ChrisA _______________________________________________ Python-Dev mailing list -- python-dev@python.org To unsubscribe send an email to python-dev-leave@python.org https://mail.python.org/mailman3/lists/python-dev.python.org/ Message archived at https://mail.python.org/archives/list/python-dev@python.org/message/4IKBEMNG... Code of Conduct: http://python.org/psf/codeofconduct/