Next Previous Contents

5. Usage in the core

5.1 What has been done here

The files that have been modified are (they can be listed by doing grep -l NRE2 in the generic directory): tclBasic.c, tclExecute.c, tclInterp.c, tclMain.c, tclNamesp.c, tclParse.c and tclProc.c

The calls that are now non-recursive are:

Procs now ckalloc the memory they need; it is simple to have them use Tcl's evaluation stack for that purpose. This willprobably be done in the near future ...

5.2 Next steps

Adapt all core commands that call for evaluations or command execution to use the NRE evaluation functions.

5.3 Things that will not be adapted anytime soon

For different reasons, not every recursive call in the core has been adapted to use NRE. Still (and forever?) missing are:


Next Previous Contents