Skip to content

perf: Improve proxy performanceΒ #334

Open
@oSumAtrIX

Description

@oSumAtrIX

Feature description

Right now, the proxy function is implemented like this:

Image

Make proxyPool a map for constant lookup.

Motivation

Proxy has linear time complexity and if you need to proxy many classes, it's quadratic. Making lookup constant would reduce complexity to linear for performance.

Acknowledgements

  • I have checked all open and closed feature requests and this is not a duplicate.
  • I have chosen an appropriate title.
  • All requested information has been provided properly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Feature requestRequesting a new feature that's not implemented yet

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions