I am new to Python so I implemented some simple applications to see the performance of Python in comparison to Java and Symbian. Therefore I just programmed some for loops with some simple mathematical operations (subtraction, multiplication) to see the difference to other platforms.
I was suprised that Python is really slow compared to other languages. Of course, I know, it is interpreted but it is ~15 times slower than java and much more slower than Symbian.
Is it really that slow or am I doing something wrong?
v1 = [..20 float values]
v2 = [..20 float values]
for i in range(100000):
for j in range(20):
d = v1[j]-v2[j]
dd = d*d