Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Functional Provider Manager #2

Open
5 tasks
cgrinker opened this issue Jun 1, 2017 · 0 comments
Open
5 tasks

Functional Provider Manager #2

cgrinker opened this issue Jun 1, 2017 · 0 comments

Comments

@cgrinker
Copy link
Contributor

cgrinker commented Jun 1, 2017

A lot of providers are single methods. To get our speed to virtual lookup levels of speed for dynamic provider calls we should build a provider manager which stores the function calls in a specific sequence. Additionally that provider manager should provide call and try_call helpers. We can then place these functions in sequence in memory. The full provider manager class can be in a separate dictionary. The included implementation should be able to take lambdas, references to static functions, and full implementations.

It would be nice to benchmark this one.

Examples:

  • PParse
  • PIdentifier
  • PStringer
  • PObjectContextual's contextualize
  • PEntityAware
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant