funkybob / stencil

A minimalist template engine for Python3
MIT License
58 stars 8 forks source link

Zero-copy parsing #22

Open funkybob opened 3 years ago

funkybob commented 3 years ago

Currently parsing creates a lot of new strings as it goes.

Might it be possible to avoid this by storing start/end positions instead?

How would that affect memory usage and performance?