Aaah, I get it.  That's a serious performance hit but at least it'll get
me up and running so I can make milestone... a good tip. Thank you. Then later I'll just go back and replace $ and # with \ or whatever the
escape is, so things are fast again.

So what's the history behind the broken escape mechanism? It's not really an escape mechanism if it can't escape itself, after all. I mean
the problem is, \$foo should always always always output $foo.  Because
there is no way of knowing at template time what's in the context and so
there's no way of knowing if random backslashes are going to creep up.

The original idea, was that your character stream could contain "\$foo",
and therefore, if $foo was not in the context, it would emit "\$foo" on
the output.

This caused the seemingly broken escaping (which acts differently if a
reference being or not being in the context).


[snip]

Yeah, I have debated in a long thread about that earlier. I dare to
state that it is, as a matter if fact... amm... so, let me call it what
it is: plain stupid design. And most probably it will not be fixed,
since that would be not backward compatible, of course. So don't waste
your time thinking about it, just live with ${D} and ${H}. Who cares
after all... this minor speed loss barely does mater.


Dito, just live with ${D} and ${H} and you are on the safe side.

:) Christoph

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to