Skip to content

Investigate benefits of __slots__ for core classes #449

@rileyjmurray

Description

@rileyjmurray

During my thesis work I wrote Python code that created millions of objects from a particular lightweight class. I was able to speed up the code significantly by using __slots__ for the class in question. I suggest we investigate the possibility of speeding up some of pyGSTi's core classes with this approach.

(I'm just opening this issue as the ideas occurs to me. I'll come back with specific suggestions later.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions