js| Programming | program | dynamic | speed | problem | implementation
Hello everyone, I have written a number of dynamic programming languages compared to the article (see: Http://www.asp888.net/lanmu/viewarticle.asp?id=17), at that time the evaluation of the ASP is very low, because the JSP Really good, there is no technology at that time to catch up with JSP, now MS launched the. NET strategy, and the corresponding asp.net (is asp+), changed the situation
On the other issues of asp+, tofu site has written a lot of articles, I will be here to compare again
Program running speed problem, please see the program
<%
Dim Intstart,intstop as DateTime
Dim Timeuse as TimeSpan
Dim Sum,i,j As Int32
Intstart = DateTime.Now
For I=1 to 20000
For J=1 to 20000
Sum=sum + I
Next
Next
Intstop = DateTime.Now
Timeuse = Intstop.subtract (Intstart)
Response.Write (Timespan.tostring (Timeuse))
%>
Please see output: is 3. 6 seconds or so, God, speed is really fast ah, to achieve the same JSP operating effect, because they also adopted the precompiled (Precompile), how, cool bar!