[Solar-talk] Namespacing with concrete class functionality (was: Re: Proposal: Remove namespace to Solar::loadClass()/factory())

Rodrigo Moraes rodrigo.moraes at gmail.com
Wed Nov 8 01:04:16 PST 2006


And now, the results with APC enabled:

Results (100 times loading Bookmarks app)
-----------------------------------------
'namespaces' => array('Solar', 'Tipos'),
time 1: 12.74102807045
time 2: 13.142596006393
time 3: 12.793690919876
------------------------------------------
'namespaces' => array('Tipos', 'Solar'),
time 1: 16.55424284935
time 2: 17.078644990921
time 3: 17.327261924744
-------------------------------------------
no namespaces (Solar 0.25)
time 1: 7.0998518466949
time 2: 7.5062291622162
time 3: 7.2992038726807

... which means: use APC! :-)

By the way - the latest APC version (3.0.12p2) seems to have fixed
previous class loading issues and works *perfectly* with Solar. I've
upgraded last weekend and haven't seen any of the previous problems,
even after I removed my APC tricks to load classes in the right order.
:-)

rodrigo


More information about the solar-talk mailing list