[Cython] PEP 509: detect dict modification by version tag

Stefan Behnel stefan_ml at behnel.de
Thu Apr 14 12:15:40 EDT 2016


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


More information about the cython-devel mailing list