[Rd] Memory allocator on OS/X

2006-05-19 Thread Jason Foster
A quick scan though the mailing list archives didn't reveal any  
reference to this article, so here goes:

   http://ridiculousfish.com/blog/archives/2006/05/16/36/

In response to a criticism of OS X, a diligent blogger examined a  
claim that it was an inherently slow operating system.  The  
application in question was R, and the results were...

"Linux uses ptmalloc, which is a thread-safe implemenation based on  
Doug Lea’s allocator (Sekhon’s test is single threaded,  
incidentally). R also uses the Lea allocator on Windows instead of  
the default Windows malloc. But on Mac OS X, it uses the default  
allocator."

... and ...

"If you use the same allocator on Mac OS X that R uses on Windows,  
the performance differences all but disappear."

Would it make sense for the build process that generates R binaries  
for OS X to use the Lea allocator?

Jason Foster

__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel


Re: [Rd] Memory allocator on OS/X

2006-05-19 Thread Jason Foster
> Somehow you managed to miss it, we had a discussion about this  
> quite recently:
> http://www.mail-archive.com/r-sig-mac%40stat.math.ethz.ch/ 
> msg00770.html

My bad; I focused on the r-devel list and didn't check the SIG.   
Sorry about the noise.  Jason

__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel