GCC, MSVC and ICC all have profile-guided optimization. From what I hear, it can produce significant performance boosts too, at least in some cases.
The problem with PGO is that you need a representative test which you can run automatically. The benefit of this idea is that the information could be gathered on any runs - not just ones specifically for PGO. Otherwise, yes, PGO does this. Of course, what I want (as explained in my other comments) is more than what PGO offers.
The problem with PGO is that you need a representative test which you can run automatically. The benefit of this idea is that the information could be gathered on any runs - not just ones specifically for PGO. Otherwise, yes, PGO does this. Of course, what I want (as explained in my other comments) is more than what PGO offers.