Make deferred_messages a GQueue rather than a GList
authorMike Gorse <mgorse@novell.com>
Fri, 27 May 2011 04:03:15 +0000 (23:03 -0500)
committerMike Gorse <mgorse@novell.com>
Fri, 27 May 2011 04:03:15 +0000 (23:03 -0500)
commit8ff27574473e6317ee7f7c507e2e0b8897107850
treeead5c14c428fe86a5d1971691d30d71c3c5e7ece
parentee59329278ddd73b7371e278b6e4f1f306ba2da6
Make deferred_messages a GQueue rather than a GList

If an application sends a large number of events, then deferred_messages can
become quite large (possibly holding several thousand messages), so appending
to a GList can become a performance hit.  Thus, use a GQueue instead.
atspi/atspi-misc.c