MozillaZine

Full Article Attached Mail/News Performance Effort Underway

Friday November 2nd, 2001

Seth Spitzer today sent an update out about what the Mail/News team is doing to meet their goals for Mozilla 1.0. They'll be focusing almost 100% of their effort for at least the next two milestones (0.9.7, 0.9.8) on Footprint and Performance of the various parts of Mail, News, and Addressbook. Not only will they be focusing on it, they'll also be locking down their part of the tree and only accepting performance or footprint fixes. Very few exceptions will be made. Click the Full Article link to see Seth's full post.


#227 Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: please

by roc <roc+moz@cs.cmu.edu>

Friday November 9th, 2001 10:50 PM

You are replying to this message

> I know that Windows has many similar bottlenecks and intercepts <

Name one. Come on, you're an experienced Windows programmer. Just name one. (Hint: I'm thinking of TWO now, and I didn't have to look them up. (But they're not good enough for what's needed.))

Honestly, I have presented many facts that invalidate your arguments, and you have ignored them. Then when I ask you for specific facts to back up your arguments, you can't, and instead resort to name-calling. This is disappointing.

> One particular reason I have for doubting that in this case is your weird statement that something would go horribly wrong with handling events in the main event loop of the application, which I know is a standard practice. <

Not in Windows. In Windows events are dispatched through a very standard GetMessage()/TranslateMessage()/DispatchMessage() loop to be processed by each window's WndProc. In most frameworks, including MFC, you don't even write that loop, it's given to you. In Windows, you do all your event processing in the WndProc attached to each window. The reason for that is that only posted messages go through the application main event loop, and someone might use SendMessage to send an event directly to your window, and those messages don't go through the application's main event loop. (Well, threading complicates the picture a bit, but that's the basic idea for single-threaded applications.)