[RFC] Doubts about our istream::ignore

Paolo Carlini pcarlini@suse.de
Fri May 21 16:09:00 GMT 2004


Nathan Myers wrote:

>> isn't this basically a NOP, or the headache that I have got since this
>> morning is obfuscating my mind?
>
> I agree.

Ok, I will remove that line.

> I agree.
>
> Of course, now that streamsize is 64 bits, it would take longer than the
> remaining lifetime of the universe (or, perhaps, the remaining fossil
> fuels) to get there. (That assumes Moore's law will get used up, too.)

:) right...

ok, therefore, instead of unnecessarily complicating that code, I will not
change it, for now: when we'll be able to store data in single atoms, we
can revisit the issue... without changing the ABI! ;) ;)

Let's actually improve the performance of ignore...

Thanks!
Paolo.



More information about the Libstdc++ mailing list