Optimizing: Difference between revisions

From OSDev.wiki
Jump to navigation Jump to search
[unchecked revision][unchecked revision]
Content deleted Content added
started the subjet "optimizing". ( i will work on it,)
 
saw the title towice .. minnor error
Line 1: Line 1:
= Optimizing =
Optimizing is a common thing in programming, but is also very importent when you are programming an Os.<br>
Optimizing is a common thing in programming, but is also very importent when you are programming an Os.<br>
One of the importants thing about optimizing, is that you have to know where to optimize and not.<br>
One of the importants thing about optimizing, is that you have to know where to optimize and not.<br>

Revision as of 21:19, 17 November 2008

Optimizing is a common thing in programming, but is also very importent when you are programming an Os.
One of the importants thing about optimizing, is that you have to know where to optimize and not.
The followning subjects will describe optimizing:

When to optimize, and not


As said above, there is a time you have to optimize your code, and sometime it does not matters.
There is one main place where optimizing is a very good ideer loops.
Why you might ask yourself, because if you run though a loop 1 milion times, and there is just one "unessersery line of code", then it matters a lot.
Loops is not the only placese to optimize, placese like:
Often runned code, graphic code, API code, and so on.
There is also some places where you dont need to optimize, because it would not help much.
This is the first step, to fast code.