sturlamolden <sturlamol...@yahoo.no> writes:
> Python on a better VM (LuaJIT, Parrot, LLVM, several
> JavaScript) will easily outperform CPython by orders of magnitide.


Maybe Python semantics make it more difficult to optimize than those
other languages.  For example, in
  a = foo.bar(1)
  b = muggle()
  c = foo.bar(2)
it is not ok to cache the value of foo.bar after the first assignment.
Maybe the second one goes and modifies it through foo.__dict__ .
See "Children of a Lesser Python" (linked in another post, or websearch)
for discussion.
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to