aspÖÐ×Ö·û´®×ª»¯ÎªÊµÌåÀàµÄ·½·¨£¨Ìá¸ßƪ£¬×Ô¶¯·½·¨£©
Êé½ÓÉÏÎÄ£¬Ö±½Ó´Ó×Ö·û´®·µ»Ø¶ÔÏ󣬴˴θüУ¬ÊµÏÖÁË·µ»Ø¶ÔÏóµÄ×Ô¶¯»¯£¬ÎÞÐèÔÚÉùÃ÷ʵÌåÀà¡£µ«Õâ¸öº¯ÊýÖ»ÊʺÏÒ³ÃæÉùÃ÷¼¸¸ö¶ÔÏó£¬ÅúÁ¿¶ÔÏ󣬱ÈÈ缸°Ù¸ö£¬ÍƼöʹÓÃÏÂÒ»ÎÄËùʹÓú¯Êý¡£
º¯ÊýºÜ¼òµ¥£¬²»½âÊÍ£¬Ö±½ÓÌù´úÂë¡£
option explicit
'·µ»Ø¶ÔÏóµÄº¯Êý
function getObj(byval str)
dim classname,itemlist,i
classname = split(str,"|||")(0)
dim execstr
execstr = "class "&classname&chr(10)
itemlist = split(split(str,"|||")(1),",")
for i = 0 to ubound(itemlist)
execstr = execstr +"public "&split(itemlist(i),":")(0)&chr(13)&chr(10)
next
execstr = execstr + "Private Sub Class_Initialize"&chr(13)&chr(10)
for i = 0 to ubound(itemlist)
execstr = execstr +split(itemlist(i),":")(0)&" = """&split(itemlist(i),":")(1)&"""" &chr(13)&chr(10)
next
execstr = execstr&"end sub"&chr(13)&chr(10)&_
"end class"&chr(13)&chr(10)&_
" set getobj = new "&classname
execute execstr
end function
'²âÊÔ²¿·Ö
dim str1
str1 ="order|||shiyang:100,mayang:200"
sub ceshi2
dim i,o1
for i = 0 to 10000
set o1 = getObj(str1)
response.write o1.shiyang&"<br>"
next
end sub
dim t1
t1=timer()
call ceshi2
response.write FormatNumber((timer()-t1),4,-1)
ÏÂÆÚ¸ü¾«²Ê£¡£¡£¡£¡
Ïà¹ØÎĵµ£º
¡¡¡¡¡¡ÓãÁ£Ó£Ð±àдÍøÕ¾Ó¦ÓóÌÐòʱ¼ä³¤ÁË£¬ÄÑÃâ»áÓöµ½¸÷ʽ¸÷ÑùµÄÎÊÌ⣬ÆäÖйØÓÚÈçºÎÉÏ´«Îļþµ½·þÎñÆ÷¿ÖÅÂÊÇÓö¼û×î¶àµÄÎÊÌâÁË£¬ÓÈÆäÊÇÉÏ´«Í¼Æ¬£¬±ÈÈçÄãÏëÒªÔÚ×Ô¼ºµÄÉçÇøÀïÃæʵÏÖÀàËÆÍøÒ×ÐéÄâÉçÇøÌṩµÄ“ÿÈÕÒ»ÐÇ”µÄ¹¦ÄÜ£¬¾ÍÒªÌṩ¸øÍøÓÑÉÏ´«ÕÕƬµÄ¹¦ÄÜ¡£ÉÏ´«Í¼Æ¬Îļþµ½·þÎñÆ÷¿ÉÒÔʹÓø÷ÖÖÃâ·ÑµÄÎļþÉÏ´«×é¼þ£¬Ê¹ ......
±¾½â¾ö·½·¨Õª×ÔÍøÂçÎÄÕ£¬ÒѾÑéÖ¤¿ÉÐС£
ÐÂÉϵÄһ̨·þÎñÆ÷³öÏÖÁËÒ»¸öÏÖÏó£ºASP³ÌÐòÖУ¬µ÷Óú¯ÊýNow()£¬ÏÔʾµÄʱ¼ä×ÜÊÇÐÎÈç“2009-07-12 ÉÏÎç 08:12:56¡¡”ÕâÑùµÄ£¬×ÜÏÔʾ“ÉÏÎ町͓ÏÂÎ産¬µ¼ÖÂÊý¾Ý¿â²åÈë²Ù×÷Òì³££¬½â¾ö¹ý³Ì¼°×îÖÕ½â¾ö·½·¨ÈçÏ£º
ÕâôÏÔʾ£¬Ò»°ã¶¼Ê ......
ÓÃASPÉè¼ÆÍøÕ¾ÔÚÏßÈËÊýͳ¼Æ³ÌÐò
¡¡¡¡ÔÚä¯ÀÀÍøÒ³µÄʱºî£¬³£³£¿ÉÒÔ¿´¼ûһЩ“µ±Ç°ÍøÕ¾ÉϵÄÈËÊýÊǣأأØÈË”µÄÔÚÏßÈËÊýͬ¼Æ¡£ÈçºÎÓÃASPÀ´×öÒ»¸öÄØ£¿Ê×ÏÈ£¬·ÖÎöÒ»ÏÂËüµÄ×ö·¨£¬Ò»°ãÀ´Ëµ£¬ÕâЩÏßÉÏÈËÊýͳ¼Æ¶¼ÊÇÖ¸Ò»¸öʱ¶ÎÄڵķÿÍÈËÊýͳ¼Æ¡£±ÈÈ磨5·ÖÖÓÄÚ£¬10·ÖÖÓÄÚ£©¶øÕâ¸öʱ¼äµÄ³¤¶Ì£¬ÊÇÓÉÉè¼ÆÕßÉ趨 ......
Ä¿Ç°ÔÚInternetÉϹ㷺ʹÓõĺǫ́¼¼ÊõÖÖÀà·±¶à£¬Ó¦ÓñȽϹ㷺µÄÓÐCGI£¬ASP£¬PHP£¬JSP/JavaServlet£¬ColdFusionµÈ¡£ÔÚÕâÒ»½ÚÀÖ÷Òª½éÉܼ¸ÖÖÔÚ¹úÄÚÓ¦ÓñȽϹ㷺µÄºǫ́ÓïÑÔ¡£
¡¡¡¡CGI£¬È«³ÆΪCommon Gateway Interface
¡¡¡¡CGI¾ÍÊǹ«¹²Íø¹Ø½Ó¿Ú (Common Gateway Interface) µÄËõд¡£ËüÊÇ×îÔç±»ÓÃÀ´½¨Á¢¶¯Ì¬ÍøÕ¾µÄºǫ́¼¼Êõ ......