Omnimaga
Calculator Community => TI Calculators => TI-BASIC => Topic started by: Hot_Dog on April 23, 2011, 10:42:23 pm
-
Any guesses (or facts) as to the fastest Ti-Basic command to run? My guess is Lbl __
-
I'd guess End would be the fastest.
-
:
-
lol, I think freyaday got this one!
-
Yep : would be the fastest I think. We need some sort of benchmark or something to prove it.
-
We could disassemble the routine code and compare them directly, but yeah, since : = a newline, it's only parsing that would slow it down. Does parse time count?
Now, longest....:P and no loops ;) I'm thinking....ANOVA? :P
-
SortA/SortD if given the correct parameters :P
-
:
/me wins
Eitherway, I'd say AsmPrgm is fast too.
-
Eitherway, I'd say AsmPrgm is fast too.
Yes, but that's not TI-BASIC.
-
Eitherway, I'd say AsmPrgm is fast too.
Yes, but that's not TI-BASIC.
It is a TI-Basic Command. ;)
I think the slowest could be seq(), if given the correct parameters. ;D
-
The most hated has got to be )
-
I think garbage collect might be the slowest on average. Seq() and sort don't typically take several minutes to complete.
-
I think garbage collect might be the slowest on average. Seq() and sort don't typically take several minutes to complete.
What if I click "No" on the GC? ;)
-
I think garbage collect might be the slowest on average. Seq() and sort don't typically take several minutes to complete.
What if I click "No" on the GC? ;)
Good point :thumbsup:
-
If we're thinking in technical terms of actual commands, :, End, and the like are not really considerable ;)
You know what the fastest command is? PrintScreen. It does nothing, but on the TI-82 it actually printed the screen -- as in sent it to a mini printer. I heard the actual code for PrintScreen on 8x calcs is an NOP or two -- and a return. So, without Parsing, that is definitely the fastest commands at <10 cycles :)
-
You know what the fastest command is? PrintScreen. It does nothing, but on the TI-82 it actually printed the screen -- as in sent it to a mini printer. I heard the actual code for PrintScreen on 8x calcs is an NOP or two -- and a return. So, without Parsing, that is definitely the fastest commands at <10 cycles :)
Doesn't it just produce an error message?
-
According to http://tibasicdev.wikidot.com/timings, the fastest "commanding" command is getkey.