Bureaucrats, ninja, Administrators
67,565
edits
m (Ngng moved page C++ exceptions can be an optimization to PCSX2 Documentation/C++ exceptions can be an optimization without leaving a redirect) |
No edit summary |
||
Line 1: | Line 1: | ||
{{DocTabs|Section=3}} | |||
''Originally written by Jake Stine'' | ''Originally written by Jake Stine'' | ||
Line 67: | Line 68: | ||
Edit: I should add that the basic theory of optimization I'm using here is what I call "optimizing for the common case." It's a process of speeding up the code that's being run more frequently (which in our example above is a typically error-free running loop) by offloading the logic to an area of the code that's run much less frequently (the exception handler's entry/exit overhead). It's one of the most powerful optimization techniques any programmer can employ. | Edit: I should add that the basic theory of optimization I'm using here is what I call "optimizing for the common case." It's a process of speeding up the code that's being run more frequently (which in our example above is a typically error-free running loop) by offloading the logic to an area of the code that's run much less frequently (the exception handler's entry/exit overhead). It's one of the most powerful optimization techniques any programmer can employ. | ||
{{PCSX2 Developers Blog Navbox}} |