PEP 509: detect dict modification by version tag
Hi! This new PEP seems interesting for Cython optimisations, too: https://www.python.org/dev/peps/pep-0509/ Essentially, it adds a 64 bit modification counter to dicts that allows detecting unmodified dicts, e.g. during lookups of methods or globals. It's currently proposed for Py3.6. Stefan
Cool! This was essentially my answer for "if you were to propose a Python PEP, what would it be" on the podcast. We should get Cython listed as a potential user as well. On Thu, Apr 14, 2016 at 9:15 AM, Stefan Behnel <stefan_ml@behnel.de> wrote:
Hi!
This new PEP seems interesting for Cython optimisations, too:
https://www.python.org/dev/peps/pep-0509/
Essentially, it adds a 64 bit modification counter to dicts that allows detecting unmodified dicts, e.g. during lookups of methods or globals.
It's currently proposed for Py3.6.
Stefan _______________________________________________ cython-devel mailing list cython-devel@python.org https://mail.python.org/mailman/listinfo/cython-devel
participants (2)
-
Robert Bradshaw -
Stefan Behnel