Boost logo

Boost :

From: Keith Burton (kb_at_[hidden])
Date: 2002-11-26 08:04:02


Not just ignorant but stupid as well - me that this.

I see now the point you are making is that each ( virtual ) function
call must do some IO and the overhead of that IO is significant.

> -----Original Message-----
> From: boost-bounces_at_[hidden]
[mailto:boost-bounces_at_[hidden]]
> On Behalf Of Matthias Troyer
> Sent: 26 November 2002 09:47
> To: Boost mailing list
> Subject: Re: [boost] Serialization library review
>
> I was referring to one virtual function call for EVERY element in a
> large vector as opposed to only one virtual function call for the
whole
> vector.
>
> Matthias
>
> On Tuesday, November 26, 2002, at 09:39 AM, Keith Burton wrote:
>
> > For the ignorant like me , would you care to explain under what
> > circumstances this is true.
> >
> > I can see the case that a one off virtual function call is much
slower
> > because the called code needs to loaded into ( cache ) memory but I
> > assume you are referring to more than this.
> >
> >> -----Original Message-----
> >>
> >> No, Robert, one virtual function call can be much slower than
changing
> >> byte order when copying integers.
> >>
> >> Matthias
> >>
> >
> >
> > _______________________________________________
> > Unsubscribe & other changes:
> > http://lists.boost.org/mailman/listinfo.cgi/boost
>
> _______________________________________________
> Unsubscribe & other changes:
> http://lists.boost.org/mailman/listinfo.cgi/boost


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk