That would keep the nice syntax. :)
Would it not be possible to add an "int rc" to the internal Array
struct? So that int[] arr = [1, 2, 3]; is ref counted per
default? If you want it to be immortal, call toGC(arr) or with
UFCS arr.toGC() which set the rc to uint.max / 2?
- Re: Idea #1 on integrating RC with GC Dicebot
- Re: Idea #1 on integrating RC with GC Manu
- Re: Idea #1 on integrating RC with GC Dicebot
- Re: Idea #1 on integrating RC with GC Andrei Alexandrescu
- Re: Idea #1 on integrating RC with GC Namespace
- Re: Idea #1 on integrating RC with GC Andrei Alexandrescu
- Re: Idea #1 on integrating RC with GC Namespace
- Re: Idea #1 on integrating RC with GC Ola Fosheim Grøstad
- Re: Idea #1 on integrating RC with GC Namespace
- Re: Idea #1 on integrating RC with GC Ola Fosheim Grøstad
- Re: Idea #1 on integrating RC with GC Namespace
- Re: Idea #1 on integrating RC with GC Adam D. Ruppe
- Re: Idea #1 on integrating RC with GC Namespace
- Re: Idea #1 on integrating RC with GC Adam D. Ruppe
- Re: Idea #1 on integrating RC with GC Namespace
- Re: Idea #1 on integrating RC with GC Adam D. Ruppe
- Re: Idea #1 on integrating RC with GC Andrei Alexandrescu
- Re: Idea #1 on integrating RC with GC Ola Fosheim Grøstad
- Re: Idea #1 on integrating RC with GC Andrei Alexandrescu
- Re: Idea #1 on integrating RC with GC Ola Fosheim Grøstad
- Re: Idea #1 on integrating RC with GC Andrei Alexandrescu
