What's the public API alternative to _PyObject_GC_IS_TRACKED()?

Marco Sulla Marco.Sulla.Python at gmail.com
Wed Dec 29 05:14:32 EST 2021


On Wed, 29 Dec 2021 at 10:06, Dieter Maurer <dieter at handshake.de> wrote:
>
> Are you sure you need to implement your type in C at all?

It's already implemented, and, in some cases, is faster than dict:

https://github.com/Marco-Sulla/python-frozendict#benchmarks

PS: I'm doing a refactoring that speeds up creation even further,
making it almost as fast as dict.


More information about the Python-list mailing list