freelanceprogrammers.org Forum Index » Delphi
why is P4D slower than PyScripter ?
Joined: 30 Dec 2006
Posts: 15
why is P4D slower than PyScripter ?
Maybe someone knows it already,
I have a script, and the execution time differs significantly
2 seconds in PyScripter
6..7 seconds in P4D (example 17, PythonEngine1.ExecStrings(Memo1.Lines))
<Python>
import time;
NNN = 1000
x=time.time()
for ttt in range(NNN):
# do some calculations here
TIJD =1000*(time.time()-x) #time is in seconds
</Python>
Any ideas ?
thanks,
Stef Mientki
Joined: 30 Dec 2006
Posts: 15
why is P4D slower than PyScripter ?
my stupid mistake,
I was running from within the Delphi IDE ;-)
cheers,
Stef Mientki
All times are GMT
Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Freelace Website Designer - Customer web design and software building.
China Wholesale - Electronics Products
Character Studio - Tutorials and Help
China Wholesale - Electronics Products
Character Studio - Tutorials and Help







