News for hackers. Stuff that matters.
Re:Increasing the D Compiler Speed by Over 75% by haberman on Thursday July 25, 2013 @04:57PM (#6104932)
Not only is it slow, many malloc() implementations (like even in glibc, I think) take a global lock, so they are prone to contention when called concurrently. Other mallocs (like tcmalloc and Hoard) satisfy small allocations from a thread-local pool.
Re:Increasing the D Compiler Speed by Over 75% by scott_s on Thursday July 25, 2013 @05:28PM (#6105124)
glibc's malloc has actually been decent with regards to concurrent memory allocation for a while now, in my experience. I googled around, and found someone talking about glibc's malloc not using a global lock: http://siddhesh.in/journal/2012/10/24/malloc-per-thread-aren...
Re:Increasing the D Compiler Speed by Over 75% by haberman on Thursday July 25, 2013 @08:44PM (#6105952)
Thanks for the info; good to know that glibc has improved in this regard. I'd correct my comment but it's no longer editable. :/