DMD + nedmalloc? last one
Robert Clipsham
robert at octarineparrot.com
Fri Jun 5 06:03:06 PDT 2009
Jarrett Billingsley wrote:
> Wow, just.. wow. I can't believe you got it working :D Thanks so
> much; I'm sure other people will find this useful as well!
>
> At long last, I was able to test it! And... amazingly, it was 50%
> slower than the default malloc/free :\ I even compiled it with
> optimization enabled.
>
> In disbelief, I tried it in my virtualized linux box with GCC as well,
> and got a similar result, so it doesn't seem to be DMC's fault..
>
> Hm. Maybe it's just supposed to be faster for multithreaded code.
Maybe you could try one of the many other malloc replacements? I believe
firefox switched to jemalloc, I have no real knowledge of this sort of
thing though. A quick google seems to come up with quite a few "fast"
replacements, including one from Google.
More information about the Digitalmars-d
mailing list