|
From: | Paul Eggert |
Subject: | bug#37321: 27.0.50; Excessive gc in a use case (el-search) |
Date: | Mon, 16 Sep 2019 17:55:56 -0700 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.1.0 |
On 9/16/19 4:53 PM, Michael Heerdegen wrote:
For el-searches, yes, I did. But the amounts of time spent were distributed quite evenly between different things, I could not identify a culprit. It looked more like everything got proportionally slower.
That doesn't sound good. Can you identify which commit did that, if any?
When I use a hash-table that associates the N elements with t instead, and use gethash as member test, do I produce less garbage?
Hard to say, but you can use (memory-use-counts) to estimate how much garbage you're creating, since it counts all uses whereas (garbage-collect) counts only live uses. There's also memory profiling, as opposed to CPU profiling.
[Prev in Thread] | Current Thread | [Next in Thread] |