Re: Top-level command invokations not compiled
- From: suchenwi <richard.suchenwirth-bauersachs@xxxxxxxxxxx>
- Date: Wed, 27 Aug 2008 05:39:39 -0700 (PDT)
On 27 Aug., 14:36, Alexandre Ferrieux <alexandre.ferri...@xxxxxxxxx>
wrote:
Because since they are toplevel they will run just once, hence the
cost of compiling them will not be diluted over several runs of the
bytecode. See Miguel's recent summary on this:
http://groups.google.com/group/comp.lang.tcl/tree/browse_frm/thread/d...
If you want to force compilation, put the code in question into an "if
1 { ... }" block.
Code in procedures still has the advantage that local variables can be
dealt with more efficiently.
.
- References:
- Top-level command invokations not compiled
- From: Googie
- Re: Top-level command invokations not compiled
- From: Alexandre Ferrieux
- Top-level command invokations not compiled
- Prev by Date: Re: Top-level command invokations not compiled
- Next by Date: Re: spinbox bug?
- Previous by thread: Re: Top-level command invokations not compiled
- Index(es):
Relevant Pages
|