Andre Poenitz wrote: > On Thu, Jun 08, 2006 at 09:17:49AM +0200, Peter Kümmel wrote: >> I'm not proposing such a patch ATM, I'm only interested in the >> costs of such an additional virtual call. > > Not noticable. It's one more indirection. Just step through the > n x 1000 instrucion Qt needs to draw a single point and you'll > see that you won't have the slightest chance to produce a measurable > difference.
In the meantime I've also realized this. > There are situations when avoiding virtual calls improves things, but > this is usally only within very tight loops as e.g. bytecode > interpreters or such. > > Andre' > >