elapouya / python-docx-template

Use a docx as a jinja2 template
GNU Lesser General Public License v2.1
1.91k stars 378 forks source link

Render takes increasingly long on large number of variables #490

Open gnadlr opened 1 year ago

gnadlr commented 1 year ago

I have a template with around 12.000 variables (text only) and rendering takes a whooping 27 minutes. Is there any way to speed up rendering? Thank you.

elapouya commented 1 year ago

Did you try PyPy interpreter ?