fabpot/Silex — pull request #205 by mgatto (2011-11-01 20:30:40+00:00)
Title: Option to Use ApcUniversalClassLoader

Setting Application.php's constructor argument to true will cause Silex to use ApcUniversalClassLoader for a performance boost. Adding no argument to the constructor will cause Silex to use the default UniversalClassLoader as before.

A constructor argument seems best since the class loader is initialized in the constructor, thus no $app['apc'] option could be used here.

Will add tests if you think this is a reasonable change.