Was this the first time that the MX page was called or after the page was
compiled for the first time?

Justin

> -----Original Message-----
> From: Rich Wild [mailto:[EMAIL PROTECTED]]
> Sent: Monday, August 12, 2002 3:24 PM
> To: '[EMAIL PROTECTED]'
> Subject: RE: [ cf-dev ] Looping over form - syntax?
>
>
> a quick, highly-unscientific test on CFMX here on my dev machine
> shows that
> evaluate(this) compared to form[this] takes 2x as long. (800ms/5000
> iterations vs 400ms/5000 iterations)
>
> my prev post on this went to chat, sorry.
>
> > -----Original Message-----
> > From: Justin MacCarthy [mailto:[EMAIL PROTECTED]]
> > Sent: 12 August 2002 15:36
> > To: [EMAIL PROTECTED]
> > Subject: RE: [ cf-dev ] Looping over form - syntax?
> >
> >
> > Is this performance different in CF MX? The newest java base
> > might change
> > that. iif is faster now in MX . I presume that both methods
> > get compiled to
> > the same thing.
> >
> > If some wants to check this out
> >
> > make this change in web.xml
> >
> > <param-name>coldfusion.compiler.saveJava</param-name>
> > <param-value>true</param-value>
> >
> > in mx
> > write a template with both method and compare the java it creates in
> > cfclasses directory.
> >
> > Of course all this should be taken care of by the language
> > parser..developers have enough to worry about.
> >
> > Justin
> >
> > > -----Original Message-----
> > > From: Taz -=TT=- [mailto:[EMAIL PROTECTED]]
> > > Sent: Monday, August 12, 2002 3:27 PM
> > > To: [EMAIL PROTECTED]
> > > Subject: Re: [ cf-dev ] Looping over form - syntax?
> > >
> > >
> > > Ah hell and pish! What do Macromedia know?
> > >
> > > Oh right, yeah, good point.
> > >
> > > Still, sometimes evaluate() is useful... like for cf 4.5
> > its more readable
> > > than the double quotes trick. Depends what you're doing really...
> > > If you're
> > > writing a little app thats going to get used once every blue moon
> > > and you're
> > > not fussed about server optimisation, go ahead. Be my guest!
> > >
> > > I tend to avoid it, but its not exactly a hangable offence.
> > > Taz
> > >
> > >
> > > > eh? is that not enough?!  it is outlined within the
> > Macromedia CF coding
> > > > standards as a 'Performance Don't'..
> > > >
> > > > N
> > > >
> > > > -----Original Message-----
> > > > From: Matt Horn [mailto:[EMAIL PROTECTED]]
> > > > Sent: 12 August 2002 15:17
> > > > To: [EMAIL PROTECTED]
> > > > Subject: RE: [ cf-dev ] Looping over form - syntax?
> > > >
> > > >
> > > > right
> > > >
> > > > so there is actually no valid reason why evaluate should
> > not be used
> > > >
> > > > other then its slower ?
> > > >
> > > >
> > > >
> > > > At 15:11 12/08/02 +0100, you wrote:
> > > > >Its a dog; it is very slow compared to other techniques...
> > > > >
> > > > >N
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >-----Original Message-----
> > > > >From: Matt Horn [mailto:[EMAIL PROTECTED]]
> > > > >Sent: 12 August 2002 15:14
> > > > >To: [EMAIL PROTECTED]
> > > > >Subject: RE: [ cf-dev ] Looping over form - syntax?
> > > > >
> > > > >
> > > > >thats fine
> > > > >
> > > > >   but why?
> > > > >
> > > > >
> > > > >At 15:07 12/08/02 +0100, you wrote:
> > > > > >General Rule..... avoid using it unless there is
> > nothing else you can
> > > do.
> > > > > >
> > > > > >N
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >-----Original Message-----
> > > > > >From: Rich Wild [mailto:[EMAIL PROTECTED]]
> > > > > >Sent: 12 August 2002 14:54
> > > > > >To: '[EMAIL PROTECTED]'
> > > > > >Subject: RE: [ cf-dev ] Looping over form - syntax?
> > > > > >
> > > > > >
> > > > > >  <cfloop list="form.fieldnames" index="this">
> > > > > >
> > > > > >           <cfoutput>
> > > > > >                   #this#=#form[this]#<br>
> > > > > >           </cfoutput>
> > > > > >
> > > > > ></cfloop>
> > > > > >
> > > > > >I'll get Raymond Camden on you if you're not careful.
> > > > > >
> > > > > > > -----Original Message-----
> > > > > > > From: Matt Horn [mailto:[EMAIL PROTECTED]]
> > > > > > > Sent: 12 August 2002 15:05
> > > > > > > To: [EMAIL PROTECTED]
> > > > > > > Subject: Re: [ cf-dev ] Looping over form - syntax?
> > > > > > >
> > > > > > >
> > > > > > > Hi
> > > > > > >
> > > > > > >
> > > > > > > <cfloop list="form.fieldnames" index="this">
> > > > > > >
> > > > > > >          <cfoutput>
> > > > > > >                  #this#=#evaluate(this)#<br>
> > > > > > >          </cfoutput>
> > > > > > >
> > > > > > > </cfloop>
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > At 15:06 12/08/02 +0100, you wrote:
> > > > > > > >Hi,
> > > > > > > >
> > > > > > > >Just trying to loop over a form and can only seem
> > to get the
> > > > > > > fieldnames
> > > > > > > >and not the values.  How do I do this?
> > > > > > > >
> > > > > > > >So far I have:
> > > > > > > >
> > > > > > > ><cfloop collection="#form#" item="i">
> > > > > > > ><cfoutput>#StructFind(form, i)#<br></cfoutput>
> > > > > > > ></cfloop>
> > > > > > > >
> > > > > > > >Any ideas?
> > > > > > > >
> > > > > > > >Thanks
> > > > > > > >
> > > > > > > >Dave
> > > > > > > >
> > > > > > > >
> > > > > > > >============================================
> > > > > > > >Phipps CF Development
> > > > > > > >Oxford, Oxfordshire.
> > > > > > > >Telephone: +44(0)7718 896696
> > > > > > > >http://www.phipps-cf.co.uk
> > > > > > > >============================================
> > > > > > > >
> > > > > > > >
> > > > > > > >--
> > > > > > > >To unsubscribe, e-mail:
> > [EMAIL PROTECTED]
> > > > > > > >For additional commands, e-mail:
> > [EMAIL PROTECTED]
> > > > > > > >For human help, e-mail: [EMAIL PROTECTED]
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > To unsubscribe, e-mail:
> > [EMAIL PROTECTED]
> > > > > > > For additional commands, e-mail:
> > [EMAIL PROTECTED]
> > > > > > > For human help, e-mail: [EMAIL PROTECTED]
> > > > > > >
> > > > > >
> > > > > >
> > > > > >--
> > > > > >To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > > > >For additional commands, e-mail:
> > [EMAIL PROTECTED]
> > > > > >For human help, e-mail: [EMAIL PROTECTED]
> > > > > >
> > > > > >
> > > > > >--
> > > > > >To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > > > >For additional commands, e-mail:
> > [EMAIL PROTECTED]
> > > > > >For human help, e-mail: [EMAIL PROTECTED]
> > > > >
> > > > >
> > > > >--
> > > > >To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > > >For additional commands, e-mail: [EMAIL PROTECTED]
> > > > >For human help, e-mail: [EMAIL PROTECTED]
> > > > >
> > > > >
> > > > >--
> > > > >To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > > >For additional commands, e-mail: [EMAIL PROTECTED]
> > > > >For human help, e-mail: [EMAIL PROTECTED]
> > > >
> > > >
> > > > --
> > > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > > For additional commands, e-mail: [EMAIL PROTECTED]
> > > > For human help, e-mail: [EMAIL PROTECTED]
> > > >
> > > >
> > > > --
> > > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > > For additional commands, e-mail: [EMAIL PROTECTED]
> > > > For human help, e-mail: [EMAIL PROTECTED]
> > > >
> > > >
> > > >
> > >
> > >
> > > --
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > > For human help, e-mail: [EMAIL PROTECTED]
> > >
> > >
> > >
> > >
> >
> >
> > --
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > For human help, e-mail: [EMAIL PROTECTED]
> >
>
>
> --
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> For human help, e-mail: [EMAIL PROTECTED]
>
>
>
>


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]


Reply via email to