[ZPT] METAL expansion only when editing

Evan Simpson evan@zope.com
Mon, 10 Sep 2001 10:49:15 -0400


Peter Bengtsson wrote:

> You said that macro expansion is as cheap as tal:replace "as far as I know".
> Can somebody (hint Evan) confirm this who knows for sure?

The cost to fetch a macro is the same as the cost of fetching a string. 
  Executing the macro is very slightly heavier than just inserting a 
string, but not so much that you'd notice.

Cheers,

Evan @ Zope