Just done that, and, as seen in latest commit https://github.com/gisle/tcl.pm/commit/5b55b71118046bf94cd80b6a7111d9d41077f885 the main "worker" sub became considerable smaller, and some actually unneeded tracking have gone.
(some time ago Tcl::Tk was very much close to Tcl module, and was even not pure-perl, now these are much more independent) Regards, Vadim. > -----Original Message----- > From: Konovalov, Vadim (Vadim)** CTR ** > [mailto:vadim.konova...@alcatel-lucent.com] > Sent: Tuesday, February 15, 2011 4:06 PM > To: tcltk@perl.org > Subject: $Tcl::STACK_TRACE in Tcl.pm, 'icall' sub > > Hi, > > the $Tcl::STACK_TRACE at the very beginning was probably due > to attempts to perform some experiments (there were some > unobvious freeing of subs AFAIR) > > This is now long forgotten and brings only (slight) speed penalty. > > I am going to remove it, if no-one objects. > > Further, > I am going to move "icall" subroutine into Tcl.xs, for > efficiency reasons. > > Having it pure-perl is good and could be easily changed if > one needs to, > but since it is long stabilized - maybe having it in XS would > be a win? > Not very soon, but eventualy I am going to do that. > > Regards, > Vadim. >