String字节数一长操作就慢,怎么解决?
我是用Str = Str & "…… "
的方法来生成静态页面的但是Str字节一多操作就会慢上十倍之多,有什么办法解决吗?
------解决方案--------------------用stream.
set stream = Server.CreateObject( "Adodb.Stream ")
stream.Open
stream.WriteText( "DSFSFF ")
stream.WriteText( "BBBBBBBBBBBBBB ")
stream.WriteText( "CCCCCCCCC ")
Dim iLength
iLength = stream.Position
stream.Position = 0
Response.Write(stream.ReadText(iLength ))
stream.Close