The profiler is very important when you want to speed up your code. It is nearly impossible to know where the bottleneck will be in your code until it is written and tested. Often times there are basic things you can do to speed your code. These basic things include pre-allocate vectors. What do you do when the basic things do not help or have already been done?