Page 1 of 1

dlmalloc

PostPosted: Mon Mar 08, 2010 5:05 pm
by akr
Hi,

While porting the engine to Apple I noticed that dlmalloc doesnt work anymore. This comes from the lock /mutex system.
There is also some assember included.

So here is my question

a) Is it important in terms of performance?
b) Any alternative recommondations?

Thx
Andreas

Re: dlmalloc

PostPosted: Mon Mar 08, 2010 5:32 pm
by makslane
The dlmalloc was used to improve the performance on 200MHz Pocket PC systems.
The other systems doesn't uses the dlmalloc allocation functions.
They only use the dlmalloc file to intercept the allocations calls and call the MemoryAllocationError in case of error.

Look for DISABLE_DLMALLOC in the files:
http://code.game-editor.com/browser/tru ... dlmalloc.h
http://code.game-editor.com/browser/tru ... dlmalloc.c