Re: [PATCH 0/2] ruby: enable garbage collection

Subject: Re: [PATCH 0/2] ruby: enable garbage collection

Date: Sat, 22 May 2021 07:49:12 -0300

To: Felipe Contreras, notmuch@notmuchmail.org

Cc: Tomi Ollila

From: David Bremner


Felipe Contreras <felipe.contreras@gmail.com> writes:

> Ruby is a gc language, we shouldn't be doing workaround to free memory when Ruby is perfectly
> capable of doing so.
>
> The problem is that talloc wants to be smart, and Ruby and talloc both fight to free memory. We can
> let Ruby win by stealing all the objects from talloc control.
>
> Thanks to the previous cleanup patches it's now possible to easily do this.
>
> In order to test this series I've used the following script:

I still haven't had a chance to look at the series, but how about making
this script either a test or a performance-test, as appropriate?

d
_______________________________________________
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-leave@notmuchmail.org

Thread: