[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Emacs-diffs] /srv/bzr/emacs/trunk r110349: * profiler.c (handle_pro
From: |
Paul Eggert |
Subject: |
Re: [Emacs-diffs] /srv/bzr/emacs/trunk r110349: * profiler.c (handle_profiler_signal): Fix a malloc race |
Date: |
Wed, 03 Oct 2012 22:56:27 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux i686; rv:15.0) Gecko/20120912 Thunderbird/15.0.1 |
On 10/02/2012 06:56 PM, Stefan Monnier wrote:
> we'd probably be better off using a different hash-function
> (and equality test) so as to make sure we don't run QUIT at all.
>
> We could use it to improve the equality function such that different
> closures coming from the same source code (IOW different instances of
> the same source function) are considered equal.
All that sounds reasonable. It'd mean a new hash-table type, though:
not eq or equal or eql, but eq-profiler or something like that,
which I guess would be visible to the user. Or perhaps you're
thinking of something more under-the-covers? If so, I don't
follow the details.