[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Finalizers and incremental GC
From: |
Stefan Monnier |
Subject: |
Re: Finalizers and incremental GC |
Date: |
Fri, 03 Jun 2022 08:16:15 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
> Would it make more sense to run all the finalizers at once, after all
> white objects are swept and a garbage collection cycle completes, like
> the current garbage collector?
It shouldn't matter, so which ever is easiest or most efficient is
probably the better option. A secondary concern is to run the finalizers
as soon as possible.
IOW, what you do now is probably the better option,
Stefan