Jason van Zyl [mailto:[EMAIL PROTECTED]] :
> "Geir Magnusson Jr." wrote:
>
> > Dave Bryson wrote:
> >
> > I just am not sure I understand the gain - the parsing process is
> > relatively quick, and since Vel caches the ASTs, it only
> happens once.
> >
>
> Agreed, a serialized template wouldn't give any advantage over
> the life of the webapp. But a compiled template would! This will
> be the my first thing to try when the 1.0 version of velocity is
> released (coming shortly!) and out the door.

Right, and even then, I would think you would do something like the JSP
model, where it's compiled at first use rather than tote around the compiled
code.

And we have to be careful here, else we have to take the YMTD off of the
site.. :)

geir


Reply via email to