Re: [BangPypers] Python performance

2009-12-22 Thread Senthil Kumaran
On Tue, Dec 22, 2009 at 02:01:47PM +0530, Venkatraman S wrote: > Are you sure about this? As in, multithreading *in* python does help? Yes, very much. It is a prevalent misunderstanding that multi-threading in python does not help at all. For IO operations like reading a file, listening and readin

Re: [BangPypers] Python performance

2009-12-22 Thread Noufal Ibrahim
On Tue, Dec 22, 2009 at 2:01 PM, Venkatraman S wrote: > [..] > Are you sure about this? As in, multithreading *in* python does help? > For I/O bound operations, it does help. -- ~noufal http://nibrahim.net.in ___ BangPypers mailing list BangPyper

Re: [BangPypers] Python performance

2009-12-22 Thread Ramdas S
On Tue, Dec 22, 2009 at 2:01 PM, Venkatraman S wrote: > On Tue, Dec 22, 2009 at 1:58 PM, Senthil Kumaran >wrote: > > > > > Have you done multithreading? If yes, thinking of implementing > > the file read operations in separate threads and this should improve > > the performance as number of thre

Re: [BangPypers] Python performance

2009-12-22 Thread Venkatraman S
On Tue, Dec 22, 2009 at 1:58 PM, Senthil Kumaran wrote: > > Have you done multithreading? If yes, thinking of implementing > the file read operations in separate threads and this should improve > the performance as number of threads increase. > > Are you sure about this? As in, multithreading *in*

Re: [BangPypers] Python performance

2009-12-22 Thread Senthil Kumaran
On Tue, Dec 22, 2009 at 01:25:17PM +0530, Ramdas S wrote: > I saw this doc and a few other docs online. > > http://wiki.python.org/moin/PythonSpeed/PerformanceTips Just follow this. This one seems good. > I/O. I have a program that opens between 4 to 7 text files in memory to Have you done mul

Re: [BangPypers] Python performance

2009-12-22 Thread Noufal Ibrahim
On Tue, Dec 22, 2009 at 1:25 PM, Ramdas S wrote: > Dear all, > > I saw this doc and a few other docs online. > > http://wiki.python.org/moin/PythonSpeed/PerformanceTips > > > Are there any recommendations on how I can improve performances in case of > I/O. I have a program that opens between 4 t

Re: [BangPypers] Python performance

2009-12-21 Thread Venkatraman S
On Tue, Dec 22, 2009 at 1:25 PM, Ramdas S wrote: > > Are there any recommendations on how I can improve performances in case of > I/O. I have a program that opens between 4 to 7 text files in memory to > analyze data. It runs beautifully on some 100 odd lines of Python code, but > its quite slow,

[BangPypers] Python performance

2009-12-21 Thread Ramdas S
Dear all, I saw this doc and a few other docs online. http://wiki.python.org/moin/PythonSpeed/PerformanceTips Are there any recommendations on how I can improve performances in case of I/O. I have a program that opens between 4 to 7 text files in memory to analyze data. It runs beautifully on

Re: [BangPypers] Python performance inprovements with GCC 4.4...any details

2009-10-13 Thread Roshan Mathews
On Tue, Oct 13, 2009 at 3:31 PM, Vishal wrote: > Well, what I meant was: Everyone knows its an interpreted language and we > are choosing it for its productivity. Also, since its interpreted, its > performance will not / most probably not match that with compiled > languages...so any news in incre

Re: [BangPypers] Python performance inprovements with GCC 4.4...any details

2009-10-13 Thread Vishal
Well, what I meant was: Everyone knows its an interpreted language and we are choosing it for its productivity. Also, since its interpreted, its performance will not / most probably not match that with compiled languages...so any news in increase in performance is a giantly welcome thing. Sometimes

Re: [BangPypers] Python performance inprovements with GCC 4.4...any details

2009-10-13 Thread Noufal Ibrahim
On Tue, Oct 13, 2009 at 3:07 PM, Kenneth Gonsalves wrote: > On Tuesday 13 Oct 2009 2:55:16 pm Vishal wrote: >> Are there anymore details that can be shared? Interested to know...because >> performance is always one of most sought after metric when choosing an >> interpreted language. > > I thought

Re: [BangPypers] Python performance inprovements with GCC 4.4...any details

2009-10-13 Thread Kenneth Gonsalves
On Tuesday 13 Oct 2009 2:55:16 pm Vishal wrote: > Are there anymore details that can be shared? Interested to know...because > performance is always one of most sought after metric when choosing an > interpreted language. I thought it was the least important? -- regards kg http://lawgon.livejourn

[BangPypers] Python performance inprovements with GCC 4.4...any details

2009-10-13 Thread Vishal
Hi, In our recent meet, there was a talk about python performance improvements when compiled using gcc 4.4. Are there anymore details that can be shared? Interested to know...because performance is always one of most sought after metric when choosing an interpreted language. Thanks and best regar