|
From: | jonas . hahnfeld |
Subject: | Re: Issue 5732: Use unique_ptr in layout code (issue 573500043 by address@hidden) |
Date: | Mon, 03 Feb 2020 10:13:00 -0800 |
On 2020/02/03 18:01:09, dak wrote: > Stupid question: unique_ptr has the purpose of deallocating memory when the last > reference is gone. But we have an entire Scheme allocation system exactly for > that purpose for which we are already paying the price in overhead. Any chance > this can be usefully tracked in the SCM scheme of things? Why would we want to use GC more than needed? Any marking algorithm will always be slower than a local variable going out of scope. https://codereview.appspot.com/573500043/
[Prev in Thread] | Current Thread | [Next in Thread] |