Post Reply 
Plus42 Equations, Preview Release
04-26-2022, 09:58 PM
Post: #556
RE: Plus42 Equations, Preview Release
Yes, I see the same thing happening on my machine. The Mac version draws the circle plot instantaneously, while the Windows version takes one or two seconds, both the 32-bit and 64-bit versions. I'm running Windows in VirtualBox, but I don't think that makes a big difference in this case.

The issue here, just like with the earlier VITA initialization slowness, is that the Windows version performs all drawing operations immediately. All the others merely invalidate the affected display areas and then paint the display in the paint event handler, which is much more efficient when lots of display updates happen in quick succession.

I should change the Windows version to perform all painting in the WM_PAINT handler as well. I think I wrote the immediate-painting logic because I was concerned about responsiveness, but that really isn't an issue any more, after 17 years of CPU speed increases. There's no reason why the Windows version couldn't be just as fast as all the other, newer ones.
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Plus42 Equations, Preview Release - Thomas Okken - 04-26-2022 09:58 PM



User(s) browsing this thread: 2 Guest(s)