[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-hackers] [PATCH] catch exceptions in finalizers, remove dyn

From: Jörg F . Wittenberger
Subject: Re: [Chicken-hackers] [PATCH] catch exceptions in finalizers, remove dynamic resizing of finalizer vector
Date: 19 Jun 2012 22:22:25 +0200

On Jun 19 2012, Felix wrote:

each object.  The latter takes up more memory when you don't have a lot
of finalizers (and finalizers are slow, so it's best not to generate too
many of them).

Exactly. Finalizers are junk. Finalizers are the last resort. Creating
excessively many of them is a design error.
(That was just for the record)

Anecdotal evidence: I already began to convert my code, killing
finalizers the other day.

If I only knew a recipe to get around them, I'd vote to not have them
at all.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]