[python-win32] Fastest GDI loop

Larry Bates larry.bates at websafe.com
Fri Feb 8 16:35:06 CET 2008


Gerdus van Zyl wrote:
> Hi
> 
> Please find attached my program (please excuse the mess) that uses
> cairographics.org to draw on a win32 window using GDI. My question is:
> What is the best event handling/drawing loop that one can have in
> pywin32? Is for instance a message map faster or slower? I am new to
> the win32 api and don't know what is the best way to do things.
> 
> Thank You,
> Gerdus van Zyl
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> python-win32 mailing list
> python-win32 at python.org
> http://mail.python.org/mailman/listinfo/python-win32

Do you have a performance problem or is this "premature" optimization?

-Larry



More information about the python-win32 mailing list