Skip to main content
Known Participant
May 24, 2006
Question

Quicker conversion from query to structure

  • May 24, 2006
  • 1 reply
  • 315 views
I have about fifteen queries that I convert to a request structure so the query results are available in all my custom tags, etc. Even though I'm caching all my queries I'd still like to speed this code up a little.

Currently I'm using CFLOOP to go over the query results. I heard once that CFOUTPUT is quicker... but is there a simple conversion function that does the same thing, but maybe quicker?

I'm running MX7
    This topic has been closed for replies.

    1 reply

    Inspiring
    May 25, 2006
    You are right CFOUTPUT is faster then CFLOOP but we're talking milliseconds most of the time.

    I can't think of any faster way (besides using cfoutput instead of cfloop). However im not really seeing what you are trying to "convert".