> Actually I prefer Google's memory allocator, it reduces fragmentation
> and is a great deal faster then the system allocator on either linux
> or windows.  Just google:  Google tcmalloc

I know google's allocator. As I stated earlier "the linux libc does
not have the best possible allocator ", probably among the worst ones
out there.

I did some basic benchmarking almost two years ago to see who is the
potential winner:
http://www.mobiphil.com/2008/08/tbbmalloc-vs-hoard-vs-tcmalloc-vs-tcmalloc-or-intel-vs-google-vs-hoard-vs-linux/

But with the approach I presented you will be much much faster, and
zero fragmentation, with disadvantage that you will have a bit higher
memory consumption, depending on the average allocation/deallocation
rate inside a session.


rgrds,
mobi phil

being mobile, but including technology
http://mobiphil.com

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to