R
rtilley
I have just started to learn python. Some said that its slow. Can
somebody pin point the issue.
It depends on what you are doing. Much of Python is just wrapped C. So
many things are very fast.
I have just started to learn python. Some said that its slow. Can
somebody pin point the issue.
"Some" doesn't know what he/she/they are talking about.I have just started to learn python. Some said that its slow. Can
somebody pin point the issue.
Thans
I have just started to learn python. Some said that its slow.
Can somebody pin point the issue.
Yes this language is very slow,
Steven D'Aprano>Very slow to do what, compared to what? The decay time
of the tau meson?<
Probably every answer I can give you is wrong for you, so answering is
almost useless... In this thread we have already given the most
pertinent answers to the original question from Diffuse.
I can show you this page, but I think this is useless too for you:
http://shootout.alioth.debian.org/gp4/benchmark.php?test=all&lang=python&lang2=ocaml
Probably every answer I can give you is wrong for you, so answering is
almost useless... In this thread we have already given the most
pertinent answers to the original question from Diffuse.
I can show you this page, but I think this is useless too for you:
http://shootout.alioth.debian.org/gp4/benchmark.php?test=all〈=python&lang2=ocaml
However, to me, the strength of python is the batteries that is
included(and there are more and more coming).
I have just started to learn python. Some said that its slow. Can
somebody pin point the issue.
..NET is not a language, IMO.Felipe said:Em Dom, 2006-02-12 às 03:20 -0800, (e-mail address removed) escreveu:
So .NET is as good as Python? Hmmm... I think the language itself is the
best part of Python, its library is just a complement (a very good and
relevant one, though).
.NET is not a language, IMO.
Steven said:What is slow? Slow compared to what? Would you prefer to spend three days
writing a program that will run in twenty milliseconds, or three hours
writing the same program which runs in eighty milliseconds? Is the
computer's execution time more important than your development time? If
the computer's time is more valuable than your time, then you should be
writing in assembly language.
Python helps you write shorter code with fewer bugs, much quicker, than C.
If you discover a specific problem that runs too slow in Python, it is
possible to write a C extension to solve that specific problem, while
still having all the other advantages of Python.
Felipe Almeida Lessa said:In the case of Python, as well as Java, the language has the same
name as the framework, and this may have lead you to mistake me.
Steven D'Aprano>Very slow to do what, compared to what? The decay time
of the tau meson?<
Probably every answer I can give you is wrong for you, so answering is
almost useless...
You are right, we all know that, but I think the person who asked this
question doesn't want to hear a sales pitch. He asked a very specific
question regarding execution speed.
What is the disavantage of Lua comparing with Python ? Or OcamlSteven said:But, in general, more often than not, Python is fast enough. The extra
value of using something like Lua or Ocaml or even C is just not enough to
make up for the disadvantages of using those languages.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.