This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [Patch] Fix istream::ignore + minor things
- From: Gabriel Dos Reis <gdr at integrable-solutions dot net>
- To: "Damour, James A" <James dot Damour at dfa dot state dot ny dot us>
- Cc: "Paolo Carlini" <pcarlini at suse dot de>, "libstdc++" <libstdc++ at gcc dot gnu dot org>
- Date: 25 May 2004 15:20:00 +0200
- Subject: Re: [Patch] Fix istream::ignore + minor things
- Organization: Integrable Solutions
- References: <7FA1153FF6D88B40963AB014B22F5DCC2CC52A@EXCNYSM0A1AB.nysemail.nyenet>
"Damour, James A" <James.Damour@dfa.state.ny.us> writes:
| If I understand your position correctly, you recommend against the use
| of the __builtin_expect function except when performance data shows a
| clear improvement. Put a different way, you prefer brevity and clarity
| in the source over some unproven performance improvement. Thus, I
| believe that your answer to my question is, "unless the performance
| improvement is demonstrated to be substantial, the more simple construct
| has greater benefit".
Yes, that summary is correct.
-- Gaby