Superior performance can be had by applying the right algorithm. Also, applying the wrong algorithm may not get you where you want no matter how many cycles you put in. Brute force is always a terrible way of doing things unless there literally is no better way (I'm looking at you NP-Hard).