Re: Tcl faster than Perl/Python...but only with tricks...
- From: Stephan Kuhagen <stk@xxxxxxxxxx>
- Date: Sat, 30 Dec 2006 22:08:30 +0100
Cameron Laird wrote:
Plenty of people--including book authors--*do* write
things like this in Python.
Okay, maybe, I did not check that. I started using Python just one year ago
and would never come to this solution, because I learned Python by doing
and looking into its Tutorial where they show you the "for line in
file"-trick as one of the first things.
Tcl, OTOH, I learned in the early 90ies, and used it ever since as my
favourite language, but I really had to think about my really fast
solution.
But I do not want to discuss Tcl vs. anything. I just compared the execution
time of some languages for the same thing, and how people seem to do them
naturally in that language. What I wondered then was the time, either
[gets] or [while] used.
Regards
Stephan
.
- References:
- Tcl faster than Perl/Python...but only with tricks...
- From: Stephan Kuhagen
- Re: Tcl faster than Perl/Python...but only with tricks...
- From: George Petasis
- Re: Tcl faster than Perl/Python...but only with tricks...
- From: Stephan Kuhagen
- Re: Tcl faster than Perl/Python...but only with tricks...
- From: Cameron Laird
- Tcl faster than Perl/Python...but only with tricks...
- Prev by Date: Re: Tcl faster than Perl/Python...but only with tricks...
- Next by Date: Re: Spawning a Secure Xterm
- Previous by thread: Re: Tcl faster than Perl/Python...but only with tricks...
- Next by thread: Re: Tcl faster than Perl/Python...but only with tricks...
- Index(es):
Relevant Pages
|