Historically , branch prediction took statistics .
Historically , branch prediction used the result to optimize code .
Historically , branch prediction took statistics , and used the result to optimize code .