It produces shitty flagellum, better flagellum, good flagellum.
But the problem is we don't see the intermediate forms. So right now you might see a complicated flagellum that has a lot of highly specialized parts that all need eachother, but that is merely a refinement that took place after all the pieces were already there. Like once an arch is complete, all the scaffolding that was holding it up is now vestigial and if it is removed the arch will remain standing.
Evolution is not a slow process, it is an irregular process. The odds of a useful mutation popping up at any given time is low, but once it pops up it's there immediately. Yes, an evolutionary process could never make an iphone, but no is claiming that evolution produced the iphone. The complex systems evolution produces are things where all the changes are individually useful.
That's the thing. Evolution isn't "survival of the fittest" or even "driven by more efficient anything", evolution is simply; if you die before you pass on your genes, you don't pass on your genes. Over long enough time scales, with large enough populations, with tight enough tolerances and strict enough niches, the system roughly approximates a directed iteration of more efficient parts.
Nothing about evolution prevents carrying forward explicitly negative mutations! Nothing about evolution prevents carrying completely unused functionality and features! Nothing about evolution guarantees monotonically increasing fitness!
The giraffe has a certain nerve that goes from it's brain, all the way down around it's aorta, back up it's neck, to it's tongue. It does this, because in the fish we all evolved from, such a detour was less than a centimeter longer than an "optimal" path, and as each next generation went in different directions, it's just not that big a deal. A few hundred extra calories in development, and rare instances of a negative injury outcome are just not going to get fixed, because evolution is almost never vigilant. Most higher level animals have mating behaviors that explicitly favor "wasted" energy, including the long neck of giraffes! Sexual selection has a stronger influence on most animals than evolutionary pressure.
> Also given the extremely slow process of evolution and the relatively short number of iterations it is infeasible to suggest such a solution
This is silly. The vast majority of the ground work for complex life was developed by single celled organisms that produced a new generation every half hour, there were billions of these little creatures experiencing basically any possible mutation all the time, and a water droplet with a billion short lived single cells is exactly the kind of tight tolerance, competitive atmosphere where evolution is most prominent!
Evolution is not iteration. Evolution is pruning bad branches in your breadth first tree based algorithm.
Why not? People think in such a short time and amount scale such that we cannot comprehend trillions of cells spending billions of years, iterating. Even a small change can be significant at those scales.
And my (limited) understanding is that changes that are not useful or helpful would get lost.
And additional to that, if an organism has a pump (which it needs to function properly) and that pump suddenly is no pump, it's a very bad flagellum, that organism has a very big problem. It's like if we swapped our arms for wings. Wings are cool, but we wouldn't be able to fly anyway, and we'd have serious problems as humans with no arms and hands.
So this isn't exactly 100% true. Quite often the encoding of these things can sit in our DNA not activated and then pop up out of nowhere.
Scishow did an episode on this recently.