Jump to content

User:Realazthat/Projects wishlist/LLVM/Tactical optimizations: Difference between revisions

no edit summary
No edit summary
No edit summary
 
Line 53:
=== Eliminate the stack ===
Eliminate the stack where only the top is used (example of dynamic programming)
 
=== Reorder conditional branches ===
Reorder if-else statements/switches to have the most likely condition first to avoid checking all of the conditions.
 
* Determine the likelihood of a condition
* Determine how often a condition will be true if its deterministic
Cookies help us deliver our services. By using our services, you agree to our use of cookies.