[Solar-talk] Proposal: Remove namespace to Solar::loadClass()/factory()

Rodrigo Moraes rodrigo.moraes at gmail.com
Tue Nov 7 09:42:23 PST 2006


Indeed, I think class namespaces would be nice. My 'classes' config
idea only makes sense to minimize changes in the existing code.
Namespaces would work without requiring configuration for each class
you want to override.

I wonder, however, if namespaces would have a big performance impact
in loadClass()? For example, I add 'Tipos' as my primary namespace but
I really have just one class to be overriden - then every loadClass()
call would check its existence before checking the Solar namespace.
What do you think?

rodrigo


More information about the solar-talk mailing list