Changes between Initial Version and Version 3 of Ticket #23435


Ignore:
Timestamp:
07/14/17 15:18:17 (3 years ago)
Author:
jdemeyer
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #23435

    • Property Status changed from new to needs_review
    • Property Commit changed from to d4fdfca8cc54d606bf54041b22bf653cd42fa4e9
    • Property Branch changed from to u/jdemeyer/ticket/23435
  • Ticket #23435 – Description

    initial v3  
    11When `dynamic_class()` creates a class whose base classes are all extension types, the new dynamic class is created with `__slots__ = []` such that it behaves more like an extension type.
    22
    3 The goal of this ticket is to reduce the performance penalty when replacing an extension type by a dynamic class: extension types and Python classes with `__slots__` have no `__dict__` which speeds up all attribute accesses.
     3The goal of this ticket is to reduce the performance penalty when replacing an extension type by a dynamic class: extension types and Python classes with `__slots__` have no `__dict__` which speeds up all attribute accesses and which reduces memory usage.