<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2912" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi everyone,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I'd like to ask you a question about Ironpython's
speed and performance:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I imagine that so far, you've been
concentrated in completeness and compatibility more than performance, and I
guess you'll address this issue after verion 1.0.</FONT></DIV>
<DIV><FONT face=Arial size=2>However, and although you claimed that Ironpython
is faster than cpython, I see cases where it is slower by a large
margin.</FONT></DIV>
<DIV><FONT face=Arial size=2>For example, the script below is up to 21x slower
than cpython.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>My question is: what are your expectations
regarding ironpython's speed in the future?</FONT></DIV>
<DIV><FONT face=Arial size=2>According to your experience so far, are you
confident that it will match or surpass cpython's? </FONT></DIV>
<DIV><FONT face=Arial size=2>Where do you think it will be better and where it
will be worse?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>script</FONT></DIV>
<DIV><FONT face=Arial size=2>-----------------------------</FONT></DIV>
<DIV><FONT face=Arial size=2>import time</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>def test():<BR> start=
time.clock()<BR> <BR> z=[]</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2> x=range(1000000)</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2> for i in
range(1000000):<BR> if i %
2:<BR> x[i] =
10<BR>
else:<BR> x[i]
= "a
string"<BR>
<BR> <BR> for i in
x:<BR> if
type(i)==str:<BR>
z.append(i.upper())<BR>
else:<BR>
z.append(i*3)<BR>
<BR> end= time.clock() - start<BR> print
end</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>test()</FONT></DIV>
<DIV><FONT face=Arial size=2>-----------------------------------</FONT></DIV>
<DIV><FONT face=Arial size=2>end script</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Regards,</FONT></DIV>
<DIV><FONT face=Arial size=2>Luis</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV></BODY></HTML>