velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From plynch...@netscape.net
Subject #parse performance question
Date Fri, 09 Aug 2002 21:55:57 GMT
Should one avoid calling #parse inside foreach loops?  Or does the
file that is parsed get cached somehow?  I am wondering which
of the following would be better:

#foreach ($a in $list)
  #parse('fileThatUsesA')
#end

or

#parse('fileThatContainsForeachOnList')

Thanks,
   --Paul


__________________________________________________________________
Pre-order the NEW Netscape 7.0 browser. Reserve your FREE CD and pay only $2.99 shipping and
handling. http://cd.netscape.com/promo_one/ 

Get your own FREE, personal Netscape Mail account today at http://webmail.netscape.com/

--
To unsubscribe, e-mail:   <mailto:velocity-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:velocity-user-help@jakarta.apache.org>


Mime
View raw message