Author Topic: Fastest Ti-Basic Command  (Read 5604 times)

0 Members and 1 Guest are viewing this topic.

Offline Hot_Dog

  • CoT Emeritus
  • LV12 Extreme Poster (Next: 5000)
  • *
  • Posts: 3006
  • Rating: +445/-10
    • View Profile
Fastest Ti-Basic Command
« 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 __
« Last Edit: April 23, 2011, 10:42:58 pm by Hot_Dog »

Offline AngelFish

  • Is this my custom title?
  • Administrator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3242
  • Rating: +270/-27
  • I'm a Fishbot
    • View Profile
Re: Fastest Ti-Basic Command
« Reply #1 on: April 23, 2011, 11:14:14 pm »
I'd guess End would be the fastest.
∂²Ψ    -(2m(V(x)-E)Ψ
---  = -------------
∂x²        ℏ²Ψ

Offline Freyaday

  • The One And Only Serial Time Killing Catboy-Capoeirista-Ballerino
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1970
  • Rating: +128/-15
  • I put on my robe and pixel hat...
    • View Profile
Re: Fastest Ti-Basic Command
« Reply #2 on: April 23, 2011, 11:16:23 pm »
:
In other news, Frey continues kicking unprecedented levels of ass.
Proud member of LF#N--Lolis For #9678B6 Names


I'm a performer at heart; I stole it last week.
My Artwork!

Offline ingalls

  • LV3 Member (Next: 100)
  • ***
  • Posts: 49
  • Rating: +4/-0
  • :)
    • View Profile
Re: Fastest Ti-Basic Command
« Reply #3 on: April 23, 2011, 11:30:41 pm »
lol, I think freyaday got this one!

Offline Juju

  • Incredibly sexy mare
  • Coder Of Tomorrow
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 5730
  • Rating: +500/-19
  • Weird programmer
    • View Profile
    • juju2143's shed
Re: Fastest Ti-Basic Command
« Reply #4 on: April 23, 2011, 11:43:19 pm »
Yep : would be the fastest I think. We need some sort of benchmark or something to prove it.

Remember the day the walrus started to fly...

I finally cleared my sig after 4 years you're happy now?
THEGAME
This signature is ridiculously large you've been warned.

The cute mare that used to be in my avatar is Yuki Kagayaki, you can follow her on Facebook and Tumblr.

Offline willrandship

  • Omnimagus of the Multi-Base.
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2953
  • Rating: +98/-13
  • Insert sugar to begin programming subroutine.
    • View Profile
Re: Fastest Ti-Basic Command
« Reply #5 on: April 23, 2011, 11:45:33 pm »
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

Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: Fastest Ti-Basic Command
« Reply #6 on: April 24, 2011, 03:22:20 am »
SortA/SortD if given the correct parameters :P

Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: Fastest Ti-Basic Command
« Reply #7 on: April 24, 2011, 07:47:50 am »
:

* Freyaday wins

Eitherway, I'd say AsmPrgm is fast too.

Offline JosJuice

  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1344
  • Rating: +66/-14
    • View Profile
Re: Fastest Ti-Basic Command
« Reply #8 on: April 24, 2011, 03:23:07 pm »
Eitherway, I'd say AsmPrgm is fast too.
Yes, but that's not TI-BASIC.

Offline ztrumpet

  • The Rarely Active One
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5712
  • Rating: +364/-4
  • If you see this, send me a PM. Just for fun.
    • View Profile
Re: Fastest Ti-Basic Command
« Reply #9 on: April 24, 2011, 04:17:06 pm »
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
« Last Edit: April 24, 2011, 04:17:14 pm by ztrumpet »

Offline Freyaday

  • The One And Only Serial Time Killing Catboy-Capoeirista-Ballerino
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1970
  • Rating: +128/-15
  • I put on my robe and pixel hat...
    • View Profile
Re: Fastest Ti-Basic Command
« Reply #10 on: April 24, 2011, 04:24:21 pm »
The most hated has got to be )
In other news, Frey continues kicking unprecedented levels of ass.
Proud member of LF#N--Lolis For #9678B6 Names


I'm a performer at heart; I stole it last week.
My Artwork!

Offline AngelFish

  • Is this my custom title?
  • Administrator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3242
  • Rating: +270/-27
  • I'm a Fishbot
    • View Profile
Re: Fastest Ti-Basic Command
« Reply #11 on: April 24, 2011, 06:11:13 pm »
I think garbage collect might be the slowest on average. Seq() and sort don't typically take several minutes to complete.
∂²Ψ    -(2m(V(x)-E)Ψ
---  = -------------
∂x²        ℏ²Ψ

Offline ztrumpet

  • The Rarely Active One
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5712
  • Rating: +364/-4
  • If you see this, send me a PM. Just for fun.
    • View Profile
Re: Fastest Ti-Basic Command
« Reply #12 on: April 24, 2011, 09:51:41 pm »
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? ;)

Offline mrmprog

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 559
  • Rating: +35/-1
    • View Profile
Re: Fastest Ti-Basic Command
« Reply #13 on: April 24, 2011, 09:52:45 pm »
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:

Ashbad

  • Guest
Re: Fastest Ti-Basic Command
« Reply #14 on: April 24, 2011, 10:17:54 pm »
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 :)