[Templates] Add DUMP directive.

Bill Ward bill@wards.net
Thu, 10 May 2007 11:18:36 -0700


On 5/3/07, Andy Wardley <abw@wardley.org> wrote:
> Looks good.  I'm all for adding it to TT3 but not convinced about TT2.
> Anything that increases the size of the parse table also increases the
> load time and memory requirements for TT, and that has an impact on
> everyone whether they use the new directive or not.

I concur.  It's a great feature to have during debugging but I
wouldn't want to slow down a production instance with this feature.
Debugging tools like DUMP don't belong in production.  Having the DUMP
directive be available for use in a development environment but not in
production sounds OK, but not at the cost of slowing down production.