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
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
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*
Hi Team,
Can somebody please comment on the query posted at the below link?
http://stackoverflow.com/questions/1922623/mysqldb-python-module
See the last post to the thread from me for more information.
Any help is highly appreciated.
Thanks in Advance!
Santhosh
__
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
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
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
Hi,
I was presuming that since tuples are immutable, like strings, and string
immutability increases performance (
http://effbot.org/pyfaq/why-are-python-strings-immutable.htm)
so also, using tuple would improve performance over Lists.
is this presumption correct?
if it is, then as a practice, I
Hi,
I don't think you should see and difference in performance. Lists
might take a bit more space since they usually preallocate memory for
future inserts.
I'd go for lists where ever i need to use an array or a list, and
tuples for storing records.
Regards,
Sidharth
On Tue, Dec 22, 2009 a
On Tue, Dec 22, 2009 at 7:10 PM, Vishal wrote:
> Hi,
>
> I was presuming that since tuples are immutable, like strings, and string
> immutability increases performance (
> http://effbot.org/pyfaq/why-are-python-strings-immutable.htm)
> so also, using tuple would improve performance over Lists.
>
On Tue, Dec 22, 2009 at 7:10 PM, Vishal wrote:
> I was presuming that since tuples are immutable, like strings, and string
> immutability increases performance (
> http://effbot.org/pyfaq/why-are-python-strings-immutable.htm)
> so also, using tuple would improve performance over Lists.
http://sta
On Tue, Dec 22, 2009 at 9:52 PM, Roshan Mathews wrote:
> [..]
>
> http://jtauber.com/blog/2006/04/15/python_tuples_are_not_just_constant_lists/
>Tuples are not constant lists -- this is a common
>misconception. Lists are intended to be homogeneous
>sequences, while tuples are hetereog
urlpatterns in django use tuples of different types (string, callable), no?
On Tue, Dec 22, 2009 at 9:59 PM, Noufal Ibrahim wrote:
> On Tue, Dec 22, 2009 at 9:52 PM, Roshan Mathews
> wrote:
>
> > [..]
> >
> >
> http://jtauber.com/blog/2006/04/15/python_tuples_are_not_just_constant_lists/
> >
On Tue, Dec 22, 2009 at 9:59 PM, Noufal Ibrahim wrote:
> This is an 'intention' rather than an enforced rule isn't it? It does seem
> natural though. I don't think i've ever seen a tuple with elements of
> different types.
>
I use namedtuple for those, (or just plain classes before I knew of that
Hello Python experts,
I have one python program og (113KB) ( on request, I shall forward the same)
which run sucessfully in Ubuntu 9.04 and Fedora-11. but failed to run in
WinXP even though I have installed python 2.06 and python 3.0
and also GTK 2.0. Since I am newbie to python, I seek your valua
On Tue, Dec 22, 2009 at 11:00 PM, 74yrs old wrote:
> for download at website viz http://code.google.com/p/tesseractindic/. (
> On
> request, the said program - shall forward the same to you)
>
> You need GTK2+ libraries and PyGTK
The first one is available at:
http://gtk-win.sourceforge.net/h
Hi Friends,
Does Anyone having problem in connecting BSNL EVDO (USB modem) broadband to
Ubuntu 9.10. For me it is not working. I am really disappointed because with
out internet I can Install my favorite applications from repository. 9.04 it
was working fine. Now I am thinking to switch back to 9.
On Tue, Dec 22, 2009 at 11:55 PM, BR!j!TH wrote:
>
>
> Does any one have any solution this problem ?
>
>
Have you tried configuring it using the "Network Manager" app?
You are on the wrong mailing list. And even if someone does attempt to
answer, your question does not carry sufficient
informati
Sorry
2009/12/23 Pradeep Gowda
> On Tue, Dec 22, 2009 at 11:55 PM, BR!j!TH wrote:
>
> >
> >
> > Does any one have any solution this problem ?
> >
> >
> Have you tried configuring it using the "Network Manager" app?
>
> You are on the wrong mailing list. And even if someone does attempt to
> ans
Yeah I agree with you Noufal, that it is low level language thinking.
However, when we decided to go to Python, it was because its development
speed was wonderful.
After having everything in Python now, performance is something people want
to look at. Hence these efforts.
We have already done a lo
20 matches
Mail list logo