Le 23/01/2011 16:03, Fabien Potencier a écrit :

On 1/23/11 3:47 PM, Benjamin Eberlei wrote:
Hello Fabien,

i am working on the Doctrine 2.0.1 release today, so if you want to take
it feel free :-) Johannes had one objection, that the listeners would still be injected for all requests, so he proposed to make this a compiler pass
instead and re-use the compiler pass in the console command if its to be
done manually. I am not sure what the better approach is here, i don't
grasp the internals of the event dispatcher enough.

Doing this in a compiler pass is doable and indeed better for performance, but it is the wrong layer. Cache priming has nothing to do with building the container.

Fabien
Johannes's proposal about the event dispatcher would solve the performance issue if I understand it right.

--
Christophe | Stof

--
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-devs?hl=en

Reply via email to