Re: [Modeling-users] Fetching raw rows
Status: Abandoned
Brought to you by:
sbigaret
From: Yannick G. <yan...@sa...> - 2003-07-18 13:26:24
|
=2D----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On July 18, 2003 07:00 am, Sebastien Bigaret wrote: > 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). My experience with Psyco shows that the code optimization does not always kick in on the 1st try. Enabling Psyco in profiling mode (which is unfortunately incompatible with the profiler in the standard library) will generate code optimization here and there even a few minutes after startup. As usual, I never experienced the kind of performance boost reported in the documentation. 40% faster max with OBB (http://openbeatbox.org) but since most of the hard work (raster op.)=20 is already done in C++ (PyQt) it was expected. =2D --=20 Yannick Gingras Byte Gardener, Savoir-faire Linux inc. (514) 276-5468 =2D----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE/F/V9rhy5Fqn/MRARAq9BAKCVlVlzkLaf/mDZ3Nz9jlsBi2Yy2QCferdQ J8tb8gj/jpo221MTK7I35Rk=3D =3Du5qg =2D----END PGP SIGNATURE----- |