I am working with some third-party ASP code.
Rather than:
<%
if x then
response.write "<b>" & var1 & "," & var2 & "," & var3 & "</b>"
end if
%>
it is more likely to contain:
<%
if x then
%>
<b><%=var1>,<%=var2>,<%=var3>,</b>
<%
end if
%>
I know that concatenation is expensive, but so is switching back and
forth from ASP to HTML. Does anyone have any hard data as to which is
more resource-intensive?
Thanks