[thelist] Re: VBScript strings (was Re: DBA survey)

Warden, Matt mwarden at odyssey-design.com
Fri Mar 9 14:10:16 CST 2001


Taking this back onlist...

> But the actual concatenation procedure is still slower than the
> corresponding response.write approach (except for maybe some rare cases),
> and that was my point.

Ok. Well it seemed like you were taking a general rule and making it a
hard-fast law. I searched through my deleted items folder for your post to
re-read it, but for some reason I couldn't find it *shrug*. Maybe I read it
wrong, but it seemed like you saying that concatenation was always worse than
multiple response.writes.

response.write "a" & "b" & "c"

response.write "a"
response.write "b"
response.write "c"

Now, I'm not going to claim to have personally done speed tests on this, but I
would be quite surprised if the first one is slower than the second. However,
I do agree that a performance hit is incurred when the entire page is put into
a variable and then printed out. But this, again, shouldn't discourage people
from caching HTML items or even pages into Application variables.

Just wanted things to be clear for others on thelist.



--
mattwarden
mattwarden.com





More information about the thelist mailing list