Yes, there’s a misconception that evolution leads to optimization and efficiency. It really just leads to traits that are “good enough”.
Not even good enough: "population reproduced faster then it died".
That's it: and it's separate from good enough because that can include things like "happened to live on the part of the island which didn't get obliterated by a volcanic eruption at the only point in history that volcano ever erupted".
Evolution has lead to optimization and efficiency many times. It rarely trends to maximization or the largest possible efficiency, since those conflict with "good enough". Protein structure and function is a common example.