Skip to content

Investigate caching ObjectPType instances #102

Description

@chklauser

While doing memory profiling, I noticed that there are probably a lot of "duplicate" ObjectPType objects. Since these are immutable and intended to be shared/aliased (the latter is true for all PType objects), there is potentially room for improvement through caching.

I'm thinking about something simple, like keeping the last 200 (or so) requested ObjectPTypes around. But as always: Need to measure first...

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions