jinja2._stringdefs makes large strings for each unicode category.
They eat 100KB+ RAM. But none of them are used.
Only xid_start and xid_continue are used by jinja2.lexer.
Would you remove category strings?
Your Environment
- Python version: Python 3.6
- Jinja version: 2.9.4
jinja2._stringdefsmakes large strings for each unicode category.They eat 100KB+ RAM. But none of them are used.
Only
xid_startandxid_continueare used byjinja2.lexer.Would you remove category strings?
Your Environment