|
From: | Paul Eggert |
Subject: | Re: Tooltips GC overhead |
Date: | Wed, 29 Jul 2015 14:17:32 -0700 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.8.0 |
martin rudalics wrote:
There are one call of `copy-sequence', two calls of `stringp', three of `setf', one of `propertize' and one of `selected-frame'. Together these would allocate some 20 million bytes?
That's what it's saying, yes.
OTOH the `copy-sequence', `face-attribute' and `alist-get' calls get nowhere listed.
copy-sequence and propertize are in C. Either can easily allocate millions of bytes.
Perhaps face-attribute doesn't allocate storage; that would explain its not being listed.
alist-get is in a call to the setf macro and you may need to investigate what setf is really doing. One way to look into that is to disassemble the byte code (type "M-x disassemble RET tooltip-show RET") and see what it does.
[Prev in Thread] | Current Thread | [Next in Thread] |