I was looking into some stuff with dObject, and found that the code  
was running a *lot*. Traced it back to dEvent, which is based on  
dObject, and every Paint, Idle and Mouse event was running all the  
dObject code.

        On a lark I changed dEvent to inherit from the plain Python object  
class instead, and all the testing I've done show no ill effects. I  
can't see anything in the event-handling code that relies on any of  
the dObject stuff, but I wanted to run this by you first to get your  
opinion. Mine is if we don't need the overhead of dObject, dEvent  
should be a plain Python object instead.

-- Ed Leafe





_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message: http://leafe.com/archives/byMID/[EMAIL PROTECTED]

Reply via email to