Binary search + compiler optimization?

this is all I'm given on my practice exam:

Puffin is trying to decide whether it is worthwhile learning how to use the optimization features of her
compiler. What would you tell her about the binarySearch function to help her decide? Be explicit and specific.
3 answers 3