Re: [Modeling-users] Fetching raw rows
Status: Abandoned
Brought to you by:
sbigaret
From: Sebastien B. <sbi...@us...> - 2003-07-18 11:01:15
|
Yannick Gingras <ygi...@yg...> wrote: > Another trick is that Psyco is *much* more effective with the new style > classes (derived from object). Since you want to keep Zope support it > may be a problem but there is an other trick that most people ignore. > The parent in a class declaration is an expression. So this is > valid : [snipped] Yes, thanks for pointing this out. This is documented there: http://psyco.sourceforge.net/psycoguide/metaclass.html http://psyco.sourceforge.net/psycoguide/node19.html#l2h-19 The nice thing here is that you do not even have to change your class declaration, just add 'from psyco.classe import *'. I still have to study the effect of changing to classes of the framework to new-style. However a quick try with this enabled an EditingContext, DatabaseContext and DatabaseChannel does not show any amelioration (perf. are in fact slightly worse). -- S=E9bastien. |