Shawn McKee wrote:
> While on this topic, how about efficiency with cfoutput?
> 
> It makes sense to me that this:
> 
> <select name="fred">
>       <cfloop query="fredQ">
>               <option
> value="<cfoutput>#val#</cfouput>"><cfoutput>#valDesc#</cfouput>
>       </cfloop>
> </select>
> 
> is faster than this:
> 
> <cfoutput>
>       <select name="fred">
>               <cfloop query="fredQ">
>                       <option value="#val#">#valDesc#
>               </cfloop>
>       </select>
> </cfouput>

Please explain, because it doesn't make sense to me.


> But what about these?
> 
> <select name="fred">
>       <cfoutput query="fredQ">
>               <option value="#val#">#valDesc#
>       </cfoutput>
> </select>
> 
> <select name="fred">
>       <cfloop query="fredQ">
>               <option value="<cfoutput>#val#">#valDesc#</cfouput>
>       </cfloop>
> </select>

GetTickCount() is your friend. Enlighten us :)

Jochem


______________________________________________________________________
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to