Speeding up compilation by using jemalloc
Vladimir Panteleev via Digitalmars-d
digitalmars-d at puremagic.com
Thu Jan 22 11:39:24 PST 2015
On Thursday, 22 January 2015 at 19:37:11 UTC, weaselcat wrote:
> Might be of use to someone, but I was looking for ways to speed
> up dmd's albeit already fast compilation times.
>
> Just by dropping in jemalloc in place of glibc's malloc via
> LD_PRELOAD on my linux machine I saw a 10-15% drop in
> compilation times across the board. Not sure if this is common
> knowledge or not.
>
> (Sorry if this takes away from your coffee time : ) )
I thought dmd used a bump-the-pointer approach, since it almost
never frees memory?
More information about the Digitalmars-d
mailing list