Re: [PATCH] Add custom memory allocator to MinGW and MacOS builds
- From
Marius Storm-Olsen <marius@trolltech.com>
- Date
- Apr 3, 2009, 14:20 UTC
- Message-ID
- <49D61B35.8060508@trolltech.com>
- In-Reply-To
- <1238766761-3576-1-git-send-email-marius@trolltech.com>
Marius Storm-Olsen said the following on 03.04.2009 15:52:
> The standard allocator on Windows is pretty bad prior > to Windows Vista, and nedmalloc is better than the > modified dlmalloc provided with newer versions of the > MinGW libc.
Actually, it just struck me that it's probably the synchronization primitives which are better on Vista than XP, and not the memory manager? (Since mingw 4.3.3-tdm on XP and Vista most likely use the same dlmalloc fork?) ^shrug^
Anyways, not that I haven't tried to 'tune' nedmalloc in any way, just ensured that it compiles with the different MinGWs which I benchmarked. So, if anyone feels like it, maybe we can squeeze more performance out of it by tweaking it.
-- .marius