RE: $Tcl::STACK_TRACE in Tcl.pm, 'icall' sub
[email protected] ("Konovalov, Vadim (Vadim)** CTR **") Thu, 17 Feb 2011 22:54:51 +0100
| Newsgroups | perl.tcltk |
|---|---|
| Message-ID | <35BF8D9716175C43BB9D67CA60CC345E276BE2F6@FRMRSSXCHMBSC2.dc-m.alcatel-lucent.com> |
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:[email protected]] > Sent: Tuesday, February 15, 2011 4:06 PM > To: [email protected] > 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. >