Sunday, 5 February 2023

Are Python 3.11 objects as light as slots?

After Mark Shannon's optimisation of Python objects, is a plain object different from an object with slots? I understand that after this optimisation in a normal use case, the objects have no dictionary. Have the new Python objects made it unnecessary to use slots at all?



from Are Python 3.11 objects as light as slots?

No comments:

Post a Comment