Optimal Learning and Performance