|
From: James W. W. <os...@jw...> - 2004-04-24 23:13:34
|
On Apr 20, 2004, at 5:09 AM, Roger Holmes wrote: > Dair has excellent hearing. That will be good, I will try to do you > another > instalment, the one which optimises the dispatching inside > Q3ObjectDispose > which is the main culprit. > > The only thing I think which is a bit of a negative is that the struct > of the instance > data has to available to classes which inherit from it. I currently > put it into the > E3.... .h file which I am afraid Dair will object to. If so, could we > put it in a file > specifically for the task, E3...Instance.h or something? How much of an improvement are you seeing? I tried a simple approach of storing a few of the most heavily-used methods in the E3ClassInfo record. This change improved the multibox frame rate by 6% or so, and the changes are confined to E3ClassTree.c. -- <http://www.jwwalker.com/> |