[thelist] ASP String Concatenation vs. Response.Write

Warden, Matt mwarden at odyssey-design.com
Mon Feb 26 15:41:37 CST 2001


> It would be interesting to know whether string concatenation gets
> progressively slower as the string gets longer...

I agree. If that is the case, it would probably be better to use several
smaller string variables to concatenate portions of the script and then
concatenate those variables at the very end.

> On my website, I use string concatenation to create surveys.  I then cache
> the survey files, and simply serve up the pre-rendered surveys.  The only
> database interaction happens when surveys are submitted.
>
> I would like to speed up the rendering process.

You could also do this on start up of the application using the global.asa
file. That way, you wouldn't have to burdon one user per reboot with the
original rendering time.



--
mattwarden
mattwarden.com





More information about the thelist mailing list