Tool Command Language: 7.1 Using a New Command: Compilation

Up: GEOS SDK TechDocs | Up | Prev: 7 Using a New Command | Next: 7.2 Autoloading

It is possible to byte-compile a Tcl script. The bc Tcl command creates a .TLC file containing compiled Tcl code--this code will run faster than normal Tcl code. When loading, Swat will load a .TLC file instead of a .TCL file where possible. Making changes to compiled Tcl functions involves changing the source code and re-compiling.


Up: GEOS SDK TechDocs | Up | Prev: 7 Using a New Command | Next: 7.2 Autoloading