On Wed, 9 Jan 2008, Tobias Schlitt wrote: > Beside some code-consolidations for the methods in ezcPersistentSession > (the main class of the PersistentObject component) I plan some > refactorings for this class. I wrote down my ideas in the (currently > pending) design document for version 1.4 (can be found in > trunk/PersistentObject/design/design-1.4.txt) and want to gather > feedback from you for it.
<snip> Sounds fine to me! > An idea would be to instanciate the newly created handler classes only > when needed (via virtual-property checks), which would reduce the > ammount of code to load on instantiating ezcPersistentSession and the > memory usage occupied by objects. Yeah, this could be usefull - it doesn't add that much overhead to check, and it can save some class instantiation. However, those 3 helper classes are just instantiated once, so I doubt actually that we need to add complexity. regards, Derick -- Components mailing list [email protected] http://lists.ez.no/mailman/listinfo/components
