This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Performance of std::max_element and std::min_element


Hi David

and many thanks for your message. I promise to closely look into this issue (and more into the other one) over the next weeks. One important comment, however:
It seems like in most of the systems, the compiler optimizes the second version better.
Since we are talking about optimizers / library interactions, it would be important to have some performance figures for the newer compilers, even if the library hasn't changed much in this area: the optimizers of the current release series (4.3.x) are definitely improved compared to 3.4.x and 4.0.x.

Thanks,
Paolo.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]