[lazarus] My opinions

Shane Miller SMiller1 at stvgb.org
Mon Oct 25 12:04:27 EDT 1999


Florian brings up a good point. We COULD call the functions directly in SOME cases, like drawpixel as long as we made sure that each ???object.pp file has those functions in them.  This certainly would speed things up.   

I like the send message function because then we only need to have one real public function in the object interface (gtkinterface class) but if we were able to call the functions directgly, we would aviod the large CASE statement but then we would have to make sure that we add a function called DRAWPIXEL in the win32 interface, the QT interface, etc.  I think in this case that would work though....

Thoughts?

Shane


>>> Florian Klaempfl <Florian.Klaempfl at gmx.de> 10/23/99 01:43PM >>>
Cliff Baeseman schrieb:
> 
> Trust us we have been up and down the road with this thing. The messaging
> interface does not place a big hit on performance since we are using
> pointers for almost everything.

But the message dispatching takes a lot of time (compared with a direct
virtual call), remember my drawpixel example!

_________________________________________________________________
     To unsubscribe: mail lazarus-request at miraclec.com with
                "unsubscribe" as the Subject
    archives at http://www.miraclec.com/list_archives/lazarus






More information about the Lazarus mailing list