3 ms·
Jinja compiles to Python which is then compiled to CPython bytecode and executed by the CPython VM.
by dom0 9y ago
Jinja compiles to Python which is then compiled to CPython bytecode and executed by the CPython VM.
- rep_movsd 9y agoI see - here the compile time data structure is converted into a tree at runtime and rendered. I decided to use a runtime DS to allow things like splicing and looping templates etc. It's also possible to make the runtime render the compiled time DS directly, which should be even faster if your requirements are simple enough