Calculator Community > Axe

The Optimization Compilation

<< < (2/24) > >>

Runer112:

--- Quote from: squidgetx on December 28, 2010, 12:17:53 pm ---Part III: "HL is the Ans of Axe" -Runer112

--- End quote ---

My favorite optimization trick of all time ;)

Ikkerens:
I'm feeling slightly... astounded by this...
Remembering the code of splut, I'm missing ALOT of optimizations :w00t:

FinaleTI:

--- Quote from: squidgetx on December 28, 2010, 12:17:53 pm ---Now, if you are checking the same variable for more than one possible expression, then it yields a greater optimization to do this:

--- Code: ---If A=EXP1 or (B=EXP2)
--- End code ---
to
--- Code: ---If inData(A,Data(EXP1,EXP2,0))
--- End code ---
You just have to make sure that you take care of the 0 case first, since this will return a non-zero value if the variable=0 :P

--- End quote ---
Shouldn't that first one be

--- Code: ---If A=EXP1 or (A=EXP2)

--- End code ---

Anyways, great guide. I'm definitely printing this out when I can.

Munchor:
http://www.omnimaga.org/index.php?action=printpage;topic=5923.0

Right here :D

AngelFish:

--- Quote from: Ikkerens on December 29, 2010, 07:16:44 am ---I'm feeling slightly... astounded by this...
Remembering the code of splut, I'm missing ALOT of optimizations :w00t:

--- End quote ---

Alot? :p

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version