Author Topic: [TI-BASIC] Can you make this faster?  (Read 3704 times)

0 Members and 1 Guest are viewing this topic.

CDI

  • Guest
[TI-BASIC] Can you make this faster?
« on: February 10, 2006, 11:23:00 am »
c1-->
CODE
ec1DelVar L1
DelVar L2
DelVar [A]
{8,16->dim([A]
[A]->[C]
[C]->
Fill(1,
1->A
1->B
->Y
ClrHome
Output(1,1,"LOADING -

Offline Radical Pi

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1143
  • Rating: +5/-2
    • View Profile
    • RealityRevolution
[TI-BASIC] Can you make this faster?
« Reply #1 on: February 10, 2006, 11:51:00 am »
A few simple optimizations, not tested.
I don't know if it'll be faster though.c1-->
CODE
ec1DelVar L1DelVar L2
DelVar [A]{8,16->dim([A]
[A]->[C]
Ans->
Fill(1,
1->A
Ans->B
->Y
ClrHome
Output(1,1,"LOADING -
One of these days I'll get a sig I'm really proud of.

MathStuf

  • Guest
[TI-BASIC] Can you make this faster?
« Reply #2 on: February 10, 2006, 02:09:00 pm »
Here's a bit more on what Radical Pi did:
c1-->
CODE
ec1DelVar L1DelVar L2DelVar [A]DelVar Y{8,16->dim([A]
[A]->[C]
Ans->
Fill(1,
1->A
Ans->B
ClrHome
Output(1,1,"LOADING -

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
[TI-BASIC] Can you make this faster?
« Reply #3 on: February 10, 2006, 02:45:00 pm »
moved to help and support

CDI

  • Guest
[TI-BASIC] Can you make this faster?
« Reply #4 on: February 11, 2006, 03:25:00 am »
:Dbiggrin.gif you do know that it was typed out like that for ease of reading? all the optimizations radical pi made are in the code, and a few of the ones MathStuf made too. Oh and the 100/20 was for in the game I replace the 20 with E which can be anywhere from 1 to 120 so :Dbiggrin.gif

Offline kalan_vod

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2715
  • Rating: +10/-0
    • View Profile
    • kalanrock.us
[TI-BASIC] Can you make this faster?
« Reply #5 on: February 17, 2006, 07:03:00 am »
Yeah I customized this to work with my sizes of BD, and I am very fortunet to have Fred make this routine for me :Dbiggrin.gif.  

CDI

  • Guest
[TI-BASIC] Can you make this faster?
« Reply #6 on: February 18, 2006, 07:54:00 am »
:Dbiggrin.gif I make the mose useless code for my games and it turns out to be useful for others :)smile.gif