Optimizing processor