During review of PR #212, a potential performance optimisation was identified:
Since each macro invocation builds a fresh State and re-evaluates the template, consider benchmarking hot code paths and determining whether caching the compiled state would provide meaningful performance improvements.
Related PR: #212
Requested by: @leynos