on 3/4/01 7:50 PM, "Dave Bryson" <[EMAIL PROTECTED]> wrote:

> Hey guys,
> 
> Maybe i'm spinning my wheels on the wrong problem.
> 
> If we want to be able to jar the templates why not just compile them?
> Then we get the extra performance as well.
> 
> Multi-path is not an issues then it's handled by the classloader.
> 
> This would be nice in Turbine - compile the templates and Turbine code
> all into one jar - could be an extra build step in the TDK.
> 
> How hard would it be to compile the templates?
> 
> Just brainstorming with myself...

Instead of even compiling them, just output the AST as a serialized object.

Take the Template class and make it Serializable and save away instances of
that object.

-jon

-- 
If you come from a Perl or PHP background, JSP is a way to take
your pain to new levels. --Anonymous
<http://jakarta.apache.org/velocity/ymtd/ymtd.html>

Reply via email to