Hi: Anybody has try psyco and zope? Is notably the performance increment? Greetings -- Microsoft merges technologoies: Windows CE + Windows ME + Windows NT = Windows CEMENT ---- Antonio Beamud Montero Agora Systems S.A. http://www.agoratechnologies.com
Antonio> Anybody has try psyco and zope? Oliver> It rocks! Any gotchas? -- Skip Montanaro - skip@pobox.com http://www.mojam.com/ http://www.musi-cal.com/
On Wed, Oct 23, 2002 at 01:46:10PM -0500, Skip Montanaro wrote:
Antonio> Anybody has try psyco and zope?
Oliver> It rocks!
Any gotchas?
Only one that I know of, and it is arguably a service. psyco tries very hard to convert objects to their nearest pythonic cognate. timestamps to DateTimes, floats to floats, integers to ints, etc. In contrast, postgres wire protocol is ascii, and some other adapters leave the result as a string rep. This can be confusing, especially if you are migrating code that worked under other adapters. You may have to expicitly cast your timestamps to string, you may have to worry about null results and what they return. In particular, the value 'infinity'::timestamp is handled very poorly as a result of forcing it into a DateTime. Frankly, given that this actually increases the number of conversions going on and occasionally gets in the way, this is one of the few design decisions involving psyco that I really do not like. I have never tried to handle decimal (fixed point) numbers with psyco. I know that they gave trouble in PoPy at one point. That would be an interesting corner case (and may be correct). Other than that, it is very stable, and seems to be reasonably fast. Jim Penny
-- Skip Montanaro - skip@pobox.com http://www.mojam.com/ http://www.musi-cal.com/
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Antonio> Anybody has try psyco and zope? Oliver> It rocks! Skip> Any gotchas? Jim> Only one that I know of, and it is arguably a service. Jim> psyco tries very hard to convert objects to their nearest pythonic Jim> cognate. timestamps to DateTimes, floats to floats, integers to Jim> ints, etc. Um, before we get any farther off-track, there is "psyco" and "psycopg". Helluva lot different beasts. Sounds like you're talking about psycopg. I was asking (and understood the OP to be asking) about Psyco, Armin Rigo's specializing compiler (see psyco.sf.net I believe). -- Skip Montanaro - skip@pobox.com http://www.mojam.com/ http://www.musi-cal.com/
Doohhh!
-----Original Message----- From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Skip Montanaro Sent: 23. oktober 2002 21:25 To: Jim Penny Cc: Skip Montanaro; Zope Subject: Re: [Zope] Psyco & Zope
Antonio> Anybody has try psyco and zope?
Oliver> It rocks!
Skip> Any gotchas?
Jim> Only one that I know of, and it is arguably a service.
Jim> psyco tries very hard to convert objects to their nearest pythonic Jim> cognate. timestamps to DateTimes, floats to floats, integers to Jim> ints, etc.
Um, before we get any farther off-track, there is "psyco" and "psycopg". Helluva lot different beasts. Sounds like you're talking about psycopg. I was asking (and understood the OP to be asking) about Psyco, Armin Rigo's specializing compiler (see psyco.sf.net I believe).
-- Skip Montanaro - skip@pobox.com http://www.mojam.com/ http://www.musi-cal.com/
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev ) --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.393 / Virus Database: 223 - Release Date: 30-09-2002
Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.393 / Virus Database: 223 - Release Date: 30-09-2002
Well, not really, AFAIK There still are some bugs, but they are minor. The psyco list would be the place to ask :) \Oliver
-----Original Message----- From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Skip Montanaro Sent: 23. oktober 2002 20:46 To: Oliver Marx Cc: Antonio Beamud Montero; Zope Subject: Re: [Zope] Psyco & Zope
Antonio> Anybody has try psyco and zope?
Oliver> It rocks!
Any gotchas?
-- Skip Montanaro - skip@pobox.com http://www.mojam.com/ http://www.musi-cal.com/
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev ) --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.393 / Virus Database: 223 - Release Date: 30-09-2002
Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.393 / Virus Database: 223 - Release Date: 30-09-2002
Anyone got a copy of CookieCrumbler I could grab? freezope.org is down... TIA, Sincerely, Richard Wesley Co-President, Electric Fish, Inc. <http://www.electricfish.com/> (v) +1-206-493-1690x210 (f) +1-206-493-1697
Try zope.org, or cvs.zope.org -- Andy McKay www.agmweb.ca ----- Original Message ----- From: "Richard Wesley" <hawkfish@electricfish.com> To: "Zope" <zope@zope.org> Sent: Wednesday, October 23, 2002 12:30 PM Subject: [Zope] CookieCrumbler mirror?
Anyone got a copy of CookieCrumbler I could grab? freezope.org is down...
TIA, Sincerely,
Richard Wesley Co-President, Electric Fish, Inc. <http://www.electricfish.com/> (v) +1-206-493-1690x210 (f) +1-206-493-1697
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
At 12:43 PM -0700 10/23/02, Andy McKay wrote:
Try zope.org, or cvs.zope.org
cvs.zope.org did the trick. Thanks! Sincerely, Richard Wesley Co-President, Electric Fish, Inc. <http://www.electricfish.com/> (v) +1-206-493-1690x210 (f) +1-206-493-1697
Can you write a 5-line howto for using Psyco & Zope? -aj --On Mittwoch, 23. Oktober 2002 20:18 +0200 Oliver Marx <Oliver@tekk.dk> wrote:
Antonio Beamud Montero wrote:
Hi: Anybody has try psyco and zope? Is notably the performance increment?
Greetings
I shall put it short:
It rocks!
\Oliver
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
--------------------------------------------------------------------- - Andreas Jung http://www.andreas-jung.com - - EMail: andreas at andreas-jung.com - - "Life is too short to (re)write parsers" - ---------------------------------------------------------------------
Sorry, but I haven't used Psyco until now ... I promise you when I try psyco I'll publish a Howto explaining its use. El mar, 29-10-2002 a las 08:26, Andreas Jung escribió:
Can you write a 5-line howto for using Psyco & Zope? -aj
--On Mittwoch, 23. Oktober 2002 20:18 +0200 Oliver Marx <Oliver@tekk.dk> wrote:
Antonio Beamud Montero wrote:
Hi: Anybody has try psyco and zope? Is notably the performance increment?
Greetings
I shall put it short:
It rocks!
\Oliver
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
--------------------------------------------------------------------- - Andreas Jung http://www.andreas-jung.com - - EMail: andreas at andreas-jung.com - - "Life is too short to (re)write parsers" - ---------------------------------------------------------------------
-- Microsoft merges technologoies: Windows CE + Windows ME + Windows NT = Windows CEMENT ---- Antonio Beamud Montero Agora Systems S.A. http://www.agoratechnologies.com
participants (8)
-
Andreas Jung -
Andy McKay -
Antonio Beamud Montero -
Jim Penny -
Oliver Marx -
Richard Wesley -
Skip Montanaro -
Tino Wildenhain