Mac Apps That Use Garbage Collection Must Move to ARC

H. S. Teoh via Digitalmars-d digitalmars-d at puremagic.com
Fri Feb 27 15:17:02 PST 2015


On Fri, Feb 27, 2015 at 11:30:40PM +0100, Martin Nowak via Digitalmars-d wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On 02/26/2015 01:50 AM, H. S. Teoh via Digitalmars-d wrote:
> > I don't know how typical this is, but in my own D code I tend to
> > use arrays a lot, and they do tend to add significant GC load. A
> > recent performance improvement attempt in one of my projects found
> > that collection cycles take up to 40% of total running time (it's a
> > CPU-bound process).
> 
> Is this project public? I'd like to benchmark it with the new GC
> growth strategy.
[...]

I haven't posted the code anywhere so far, though I probably will in the
future. If you like, though, I could send you a tarball for you to play
around with.


T

-- 
The day Microsoft makes something that doesn't suck is probably the day they start making vacuum cleaners... -- Slashdotter


More information about the Digitalmars-d mailing list