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

Reply via email to