On Fri, Aug 2, 2013 at 11:49 AM, David Jeske <[email protected]> wrote:
> On Fri, Aug 2, 2013 at 11:12 AM, Jonathan S. Shapiro <[email protected]>wrote: > >> It seems that I often have large, durable DAGs with internal pointers. >> Often, there is some "master" pointer (or small set of such pointers) that >> keeps the structure alive. >> > > I do typically see this pattern, but not for frozen DAGs. They change over > time (sometimes a little, sometimes a lot), which means they need > collection themselves or they could consume all memory with non-referenced > elements. > Another random thought here about how regions *might* be useful. The main problem with ARC is cycles. What if, through regions, we can ensure that all cycles are implemented by borrowed pointers? I'm not sure that it works in all cases, but it's one more way to narrow the problem space. shap
_______________________________________________ bitc-dev mailing list [email protected] http://www.coyotos.org/mailman/listinfo/bitc-dev
