Re: [pypy-dev] PyPy is much slower than CPython example / question

2011-07-20 Thread David Fraser
On Wednesday, July 20, 2011, at 8:50:20 AM, "Alexander Petrov" wrote: > [snip] > So at this time I didn't come to some kind of decision about PyPy. > > On one hand in most of the cases with straitforward code/algorithms > and "common" syntax constructs there was significant speed > improvement

Re: [pypy-dev] PyPy is much slower than CPython example / question

2011-07-20 Thread David Fraser
On Wednesday, July 20, 2011 at 10:27:24 AM, Maciej Fijalkowski wrote: > On Wed, Jul 20, 2011 at 9:25 AM, David Fraser > wrote: > > > > > > On Wednesday, July 20, 2011, at 8:50:20 AM, "Alexander Petrov" > > wrote: > >> [snip] > >> So

[pypy-dev] Saving and reloading JIT optimizations

2011-08-19 Thread David Fraser
case is a web application server - it would be nice if the first N page views weren't terribly slow as they are now) Cheers David -- David Fraser St James Software ___ pypy-dev mailing list pypy-dev@python.org http://mail.python.org/mailman/lis

Re: [pypy-dev] Saving and reloading JIT optimizations

2011-08-19 Thread David Fraser
On Friday, August 19, 2011 at 3:32:07 PM, "Armin Rigo" wrote: > Hi David, > > On Fri, Aug 19, 2011 at 1:56 PM, David Fraser > wrote: > > The pypy JIT takes a while to work out which parts of python code > > need optimization etc, and only after that phase d

Re: [pypy-dev] Saving and reloading JIT optimizations

2011-08-19 Thread David Fraser
On Friday, August 19, 2011 at 3:40:24 PM, "Harald Armin Massa" wrote: > >> The pypy JIT takes a while to work out which parts of python code > >> need optimization etc, > > > No, this is not really doable.  The JIT writes explicitly in the > > assembler the address of a ton of constants. > > co

Re: [pypy-dev] Is PyPy appropriate for Django?

2011-08-24 Thread David Fraser
I'm not using Django but another web platform; I've found some speedup using pypy after the JIT has kicked in, but it did require some profiling and adjusting of my code. Why not give pypy a go? - Original Message - From: "Andy" To: pypy-dev@python.org Sent: Wednesday, August 24, 20

Re: [pypy-dev] Is PyPy appropriate for Django?

2011-08-25 Thread David Fraser
I'm hoping to get that better. I haven't monitored memory usage specifically Cheers David - Original Message - From: "Andy" To: "David Fraser" Cc: pypy-dev@python.org Sent: Thursday, August 25, 2011 5:01:25 PM Subject: Re: [pypy-dev] Is PyPy approp

Re: [pypy-dev] deepcopy slower in PyPY ?!

2011-09-08 Thread David Fraser
On Wednesday, September 7, 2011 at 10:38:10 PM, Maciej Fijalkowski wrote: > On Wed, Sep 7, 2011 at 8:16 PM, Antonio Cuni > wrote: > > Hi Jorge, > > > > On 07/09/11 16:43, Jorge de Jesus wrote: > >> > >>  Hi to all > >> > >> I've benchmark/profile  some code (PyWPS API) and PyPy-c is 2/3x > >> ti

Re: [pypy-dev] deepcopy slower in PyPy - testing script

2011-09-08 Thread David Fraser
On Thursday, September 8, 2011 at 12:58:54 PM, Jorge de Jesus wrote: > Hi to all > > Thank you for all the answers concerning the topic. > > The deepcopy testing script in issue 767 [1], is working faster in PyPy > than in CPython, but deepcopy is run on a list of numbers. > > BUT, PyWPS runs

Re: [pypy-dev] Great experience with PyPy

2013-02-13 Thread David Fraser
You may also want to try pg8000; this is a pure-Python driver that works on Windows On Thursday, February 7, 2013 at 6:08:51 PM, "Костя Лопухин" wrote: > Hi! I did not test it on Windows, there may be problems with > installation (searching for postgres header files, the config is not > very sm