Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Python VS Java VS PHP

Name: Anonymous 2010-06-14 8:33

Hey /prog/

Which of the three is generally faster? I know there are some specific cases where one performs much better than it does elsewhere but I am speaking of the common situation.

Name: Anonymous 2010-06-14 11:43

>>13
Actually much of Python's slowness is from the fact that it's using a dictionary for everything. When you write sum([1, 2]), it searches in locals(), then globals(), then in __builtins__, for "sum". Then it has to look in sum's dict to figure out what it is, and how to call it.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List