emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Excess consing comes from x-gtk-map-stock


From: Chong Yidong
Subject: Re: Excess consing comes from x-gtk-map-stock
Date: Sat, 29 Nov 2008 01:51:20 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

Chong Yidong <address@hidden> writes:

> I think the excess consing, leading to frequent garbage collection,
> comes from x-gtk-map-stock.  This is called by update_frame_tool_bar
> on each redisplay, for each tool-bar item.  Each call advances
> consing_since_gc by about 400 bytes, and this adds up rather quickly.

I've installed a fix (caching GTK stock icon names).  Emacs should be
slightly snappier now, at least on GTK.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]