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

Create callback metadata driver #138

Closed
Ocramius opened this issue Jan 8, 2013 · 1 comment
Closed

Create callback metadata driver #138

Ocramius opened this issue Jan 8, 2013 · 1 comment
Assignees

Comments

@Ocramius
Copy link
Member

Ocramius commented Jan 8, 2013

Current metadata drivers are quite heavy and are initialized on every request even if they're not used.

Since ZF2 provides very strong lazy loading functionality, we could make at least the chained driver "lazy" by providing a callback driver.

This will already save (in my particular case) around 5ms/request.

It would be interesting to see if this is actually a good use case for service proxies.

@ghost ghost assigned Ocramius Jan 8, 2013
@Ocramius
Copy link
Member Author

Should use delegate factories as of zendframework/zendframework#4146 instead

gencer pushed a commit to gencer/DoctrineModule that referenced this issue Apr 11, 2014
[Profiler] fix regex for replacing the parameters
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