Published by Fabian on 13 Oct 2007 at 01:06 pm
Eric made a valid point in his comment that you could remove all includes due to symfony autoloading.
I found the sfBuilders that are responsible for stripping the comments from the generated propel classes and also saw that there is a addIncludes parameter in propel.ini. Lets reuse that and modify the Builders to strip the inline includes and requires.
I admit this is a tiny step, but some propel users are desperately searching for performance tweaks (as I am as well) so I hope this could be of use. I send this patch for inclusion in symfony 1.1, Noël told me that it will not become part of 1.0.x .
So if you want to patch your symfony 1.0.x yourself. here is the diff: propel_includes_10.patch