﻿ The Optimization Compilation
20 May, 2013, 03:27:55
 Welcome, Guest. Please login or register. 1 Hour 1 Day 1 Week 1 Month Forever Login with username, password and session length
 home news downloads projects tutorials misc forums rules new posts irc about Login Register
 OmnomIRC You must Register, be logged in and have at least 40 posts to use this shout-box! If it still doesn't show up afterward, it might be that OmnomIRC is disabled for your group or under maintenance.Note: You can also use an IRC client like mIRC, X-Chat or Mibbit to connect to an EFnet server and #omnimaga.

 Pages: [1] 2 3 ... 8   Go Down
 Author Topic: The Optimization Compilation -  (Read 10204 times) 0 Members and 1 Guest are viewing this topic.
FinaleTI
Believe in the pony that believes in you!
Coder Of Tomorrow
LV10 31337 u53r (Next: 2000)

Offline

Gender:
Last Login: 03 May, 2013, 16:35:01
Date Registered: 04 June, 2010, 00:34:27
Location: Alteria
Posts: 1818

Total Post Ratings: +118

 « on: 29 December, 2010, 19:03:40 » 0

Now, if you are checking the same variable for more than one possible expression, then it yields a greater optimization to do this:
 1 If A=EXP1 or (B=EXP2)
to
 1 If inData(A,Data(EXP1,EXP2,0))
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
Shouldn't that first one be
 12 If A=EXP1 or (A=EXP2)

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

So, yeah, I have a blog now. Nothing special, just your average ghost town.

Spoiler for Projects:
Spoiler for Pokemon TI:
Map engine is going to be redone from scratch, since I was lacking in organization last time. With a project as big as Pokemon, planning and organization is key, so that will probably be the brunt of the work done on this project for the time being.

Spoiler for Nostalgia:
Being worked on. Nothing really new to put here, but it's being worked on.

Spoiler for Finale's Super Insane Tunnel Pack of Doom:
I will be combining Blur and Collision Course into a single gamepack.

Spoiler for Nostalgia Origins: Sky's Story:
Currently on hold. I am unsure of whether this will remain DCS7 Hybrid BASIC or if it will use Batlib, Grammer or perhaps Axe.
This may see more progress once a demo of Nostalgia is released.
 Pages: [1] 2 3 ... 8   Go Up