[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-hackers] [PATCH] Improve performance by skipping mutations
From: |
Peter Bex |
Subject: |
Re: [Chicken-hackers] [PATCH] Improve performance by skipping mutations on non-stack pointers |
Date: |
Wed, 9 Apr 2014 14:44:55 +0200 |
User-agent: |
Mutt/1.4.2.3i |
On Sat, Apr 05, 2014 at 09:19:21PM +0200, Peter Bex wrote:
> I am unsure what to do with the GC mutation hook, though. My patch keeps
> the hook invoked for mutations on all non-immediate objects, even if they
> will eventually not get tracked. Perhaps this should be moved down
> below the new check?
I've asked Felix and he thinks it should probably see only the mutations
that are tracked, because those are the ones that really count.
Attached is a version of the patch which makes it so.
Cheers,
Peter
--
http://www.more-magic.net
0001-Improve-GC-performance-by-avoiding-tracking-of-nurse.patch
Description: Text document