Re: Tcl, trace, profiling...

2007-01-20 Thread Klaas-Jan Stol
I like the idea. Write up a more complete proposal and we'll all review it. A few thoughts: - The same mechanism could be used to implement Perl 6 sub wrapping, so keep that in mind as you're thinking through the implementation options. Names like "trace_sub" may be too specific to one par

Re: Tcl, trace, profiling...

2007-01-19 Thread jerry gay
On 1/19/07, Allison Randal <[EMAIL PROTECTED]> wrote: (That also means you can monkey around with the args before passing them on to the wrapped sub.) - It should be possible both to put multiple wrappers/traces on a subroutine, and to put wrappers around other wrappers. So these are all possib

Re: Tcl, trace, profiling...

2007-01-19 Thread Allison Randal
Will Coleda wrote: While it would be possible to implement the basic functionality by wrapping existing subs in other subs, I'm not sure that would help with [trace info], which provides a way to report on all the traces that are currently set. Isn't that more a matter of setting a flag on the

Tcl, trace, profiling...

2007-01-18 Thread Will Coleda
I currently have two issues that are bothering me with partcl: 1) Speed. We are getting slower (though we're getting MUCH more feature complete). While speed is not our number 1 priority (in fact, it's pretty much at the bottom of the barrel), having a zippier tcl.pbc will improve development