Bumping this again. Rodrigo, I'd love to precompile my jinja2 templates on 
app engine, and it would be wonderful if you could share your code again.

Many thanks,
Jamie

On Friday, March 15, 2013 3:23:39 PM UTC-7, Alexander Trakhimenok wrote:
>
> Rodrigo, has this got any traction?
>
> We are looking to move our project from Django to Jinja2 and such a 
> feature as loading templates as Python modules would be really cook on 
> Google AppEngine.
>
> Your old link to paste.pocoo.org are not working any more, any change to 
> get latest version of this?
>
> Alex
>
> On Sunday, 21 June 2009 18:11:33 UTC-4, Rodrigo Moraes wrote:
>>
>> And hi again.
>>
>> Some notes about the previous proof of concept:
>>
>> 1) existing cache becomes obsolete (cached bytecodes need to be cleaned).
>>
>> 2) it doesn't affect performance of normal loading or bytecode cache 
>> loading.
>>
>> 3) a new loading method can be used - precompiled code as modules
>> (quick and dirty ModuleLoader example is here [1]).
>>
>> 4) loading from modules is several times faster than using bytecode
>> cache (from 3 to 5 times in the templates I tested). This will shine
>> in App Engine and kick a** of everything else, but also can be used
>> outside of App Engine for those that want extra performance for the
>> cost of precompiling the templates.
>>
>> Ok, now I'm definitely flooding pocoo-libs. :-/ Sorry about this. :-)
>>
>> -- rodrigo
>>
>> [1] http://paste.pocoo.org/show/124400/
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"pocoo-libs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/pocoo-libs?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to