View Single Post
  #9 (permalink)  
Old 03-12-2007, 01:00 PM
WingedPanther's Avatar   
WingedPanther WingedPanther is offline
Super Moderator
 
Join Date: Jul 2006
Age: 35
Posts: 4,107
Last Blog:
Why Learn Data Structu...
Credits: 28
Rep Power: 45
WingedPanther is a splendid one to beholdWingedPanther is a splendid one to beholdWingedPanther is a splendid one to beholdWingedPanther is a splendid one to beholdWingedPanther is a splendid one to beholdWingedPanther is a splendid one to beholdWingedPanther is a splendid one to behold
Default

One of the first rules of optimizing is: let the compiler do it for you.
You are more likely to get mileage from making sure you have an efficient algorithm (such as O(ln(n)) vs O(n^2)) than from trying to do minor tweaks. Also, be aware of WHERE you are getting the most slowdown in your code. If your code runs slow because it does a ton of disk access, optimize there, not in the memory management.
__________________
CodeCall Blog | CodeCall Wiki | Shareware | Linux Forum
Programming is a branch of mathematics.
Reply With Quote