biqqles / dataclassy

A fast and flexible reimplementation of data classes
https://pypi.org/project/dataclassy
Mozilla Public License 2.0
81 stars 9 forks source link

Performance improvements #14

Closed biqqles closed 3 years ago

biqqles commented 3 years ago

This branch contains several changes with the aim of improving initialisation performance considerably. Preliminary discussion is in #12.

Library changes:

Together, these changes mean that dataclassy performs equally with dataclasses when slots=False, and far better when slots=True.

To do: