Re: [BangPypers] Tuples vs Lists, perfromance difference

2009-12-24 Thread Roshan Mathews
On Thu, Dec 24, 2009 at 1:29 PM, Noufal Ibrahim nou...@gmail.com wrote: psyco is 32 bit only and development has pretty much ceased since all the chaps working on it went to PyPy. Also, for some perverse bits of code, it plainly skips compilation. Oh. :( Didn't know that. -- Roshan Mathews

Re: [BangPypers] Tuples vs Lists, perfromance difference

2009-12-24 Thread Navin Kabra
On Thu, Dec 24, 2009 at 1:05 PM, Senthil Kumaran orsent...@gmail.comwrote: Also interesting stuff about the Java comparison. The question remains, why the JVM is so fast and why Python is not as far as JVM? I am sure there must be a ton of info on this over the net :) Java is

Re: [BangPypers] Tuples vs Lists, perfromance difference

2009-12-24 Thread Senthil Kumaran
On Thu, Dec 24, 2009 at 02:06:31PM +0530, Navin Kabra wrote: Java is statically typed. Which means that the compiler (and the JIT compiler) has lots of information available to it. Lots of bindings can be done at compile time. Lots of optimizations can be done at compile time. And Yes, agreed.

Re: [BangPypers] Tuples vs Lists, perfromance difference

2009-12-24 Thread Noufal Ibrahim
On Thu, Dec 24, 2009 at 1:54 PM, Roshan Mathews rmath...@gmail.com wrote: On Thu, Dec 24, 2009 at 1:29 PM, Noufal Ibrahim nou...@gmail.com wrote: psyco is 32 bit only and development has pretty much ceased since all the chaps working on it went to PyPy. Also, for some perverse bits of

Re: [BangPypers] Tuples vs Lists, perfromance difference

2009-12-24 Thread Dhananjay Nene
On Thu, Dec 24, 2009 at 2:36 PM, Senthil Kumaran orsent...@gmail.comwrote: On Thu, Dec 24, 2009 at 11:19:18AM +0530, Navin Kabra wrote: Nope. With JIT compilation, a JVM can actually beat C++ This seems a controversial statement to make. I have seen this come up time and again at various

Re: [BangPypers] Tuples vs Lists, perfromance difference

2009-12-24 Thread Anand Chitipothu
On Thu, Dec 24, 2009 at 4:40 PM, Anand Chitipothu anandol...@gmail.com wrote: I didn't quite follow you here, I'm sorry.  I was chatting with someone in IRC a week back, and here's his theory. He says in languages such as Python or Perl, almost all I/O, database etc are all optimized in C and