viktor-ferenczi / genshi-compiler

Genshi markup template compiler
0 stars 0 forks source link

Optimize generated code for very simple template functions #5

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
The generated code might be more efficient if we could generate simpler code 
for the really simple template functions, like the ones do not contain control 
statements. Such functions could be compiled to a simple string interpolation 
with all the necessary runtime escaping done in the parameter tuple.

Original issue reported on code.google.com by ferenczi.viktor on 16 Jul 2011 at 2:11

GoogleCodeExporter commented 9 years ago

Original comment by ferenczi.viktor on 16 Jul 2011 at 2:13