ML and contributing to mir
Marc
mailnawman at gmail.com
Wed Aug 6 20:12:04 UTC 2025
On Wednesday, 6 August 2025 at 19:37:19 UTC, Lance Bachmeier
wrote:
> On Wednesday, 6 August 2025 at 17:54:27 UTC, Marc wrote:
>
>> but the gc is putitng me off as well
>
> Then don't use it?
>
> I do lots of statistical work with D and honestly I have found
> little to gain from avoiding the GC. It'll all depends on what
> you're doing, of course, but look at std.typecons.RefCounted if
> you want to avoid D's GC. I use it because I often call into C
> libraries that allocate memory. Just don't expect it to improve
> performance. YMMV.
Thanks, this might be exactly what I’m looking for, referenced
counting.
More information about the Digitalmars-d
mailing list