Is there already a "sourcecode to optimized converter" for tcl?
- From: Michael Reichenbach <Reichenbach@xxxxxxxxxxxxxxx>
- Date: Fri, 29 Jun 2007 22:32:54 +0200
I wanted to optimize my scripts and already tested already
tclpro/activestate tcl compiler but got really disappointed, the
improvement was more then minimal. The bytecode hides the source but
this is not my point, I wanted to speed up things.
I can imagine that this (=good readable for me)
proc testproc { name args } {
puts $name
puts $args
# ....
}
proc nextproc { name args } {
puts $name
puts $args
# ....
}
is slower then this (="optimized")
proc testproc {n args} {puts $n;puts $args};proc nextproc {n args} {puts
$n;puts $args}
Is there already a project to convert the source in such a style?
(everything in one line, removing comments, removing wasted spaces,
shorter variablenames, ...many more)
.
- Follow-Ups:
- Re: Is there already a "sourcecode to optimized converter" for tcl?
- From: Jeff Hobbs
- Re: Is there already a "sourcecode to optimized converter" for tcl?
- From: Aric Bills
- Re: Is there already a "sourcecode to optimized converter" for tcl?
- Prev by Date: Re: TCL_evalFile
- Next by Date: Re: TCL_evalFile
- Previous by thread: TCL_evalFile
- Next by thread: Re: Is there already a "sourcecode to optimized converter" for tcl?
- Index(es):
Relevant Pages
|