Re: Snappy GUI response

Owen Taylor <[email protected]>
Newsgroups gmane.comp.xfree86.forum
Message-ID <[email protected]>
On Sat, 2003-07-05 at 16:37, Juliusz Chroboczek wrote:
> KP>  1)	InternAtom -- Qt interns a bunch of atoms at startup time in
> KP> 	one round trip; Gtk+ doesn't bother.
> 
> How many?

That is of course, the hard question. The toolkit doesn't
know beforehand what the application is going to use,
which is the main reason why we've been reluctant
to do anything like this in GTK+. (It very much breaks
the encapsulation of different pieces of the code)

The patch I checked into GTK+ yesterday pre-interns all
the atoms that are used in initializing GTK+ and showing
a simple window, and nothing more, which is between 
20 and 25 atoms.

Regards,
					Owen
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.