[Effective-cpp] Item 1: Uses and Abuses of vector
White Wolf
wolof at freemail.hu
Wed Oct 27 11:12:07 EDT 2004
effective-cpp-bounces at accu.org wrote:
>> -----Original Message-----
>> From: effective-cpp-bounces at accu.org
>> [mailto:effective-cpp-bounces at accu.org]On Behalf Of White Wolf
>> Sent: 27 October 2004 15:04
>
>> So could somebody please address my questions? I am really puzzled
>> now, because my experience shows that it makes no sense to
>> pre-evaluate end() (since it only adds the possibility of error but
>> no speed improvements)
>> however all the other people discussing here seems to be absolutely
>> convinced about the opposite. One of us should have slightly
>> distorted view of this topic, and I am more than willing to admit
>> that I am the one - but please give some facts you base your opinion
>> on.
>
> I thought that you'd already stated the case quite clearly
> and that the questions were rhetorical.
No, that is just my bad English. I really want to know if there is
something I have missed and my point of view lacks to take some important
facts into consideration.
> I didn't think anyone did attempt that 'optimisation' until I
> saw it mentioned here and I take it as read that it would be
> at best a micro-optimisation, with 'hiding-to-nothing' semantics.
OK, I think at least half of it I understand. What is "'hiding-to-nothing'
semantics"?
Thanks for the answer!
Attila
More information about the Effective-cpp
mailing list