Article View: comp.sys.mac.programmer.codewarrior
Article #1260Re: malloc
From: Steve
Date: Fri, 30 Mar 2001 22:52
Date: Fri, 30 Mar 2001 22:52
20 lines
1674 bytes
1674 bytes
In article <macdev-B358A3.15145230032001@senator-bedfellow.mit.edu>, meeroh <macdev@meeroh.org> wrote: > In article <geek-3003011104050001@192.168.1.3>, > geek@geeksrus.com (Steve) wrote: > > >Apple's performance doc mentions to use Darwin's malloc over NewPtr. > > > >What libs do I link with to get their malloc and not one that MW has > >provided in the MSL? > > You don't. Apple's advice mostly applies to applications built with > PorjectBuilder. For CodeWarrior is possible by using CoreFoundation's > Bundle services to load the symbols by hand from System.framework, but > that's not worth the effort. So does the MW malloc make sure that everything is page aligned, and does calloc do the zeroing down in the VM layer? Steve
Technical Details
Message-ID:
<geek-3003011453120001@192.168.1.3>Path:
arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!newsfeed.wirehub.nl!howland.erols.net!feed2.news.rcn.net!feed1.news.rcn.net!rcn!NewsWatcher!userReferences:
<geek-3003011104050001@192.168.1.3> <macdev-B358A3.15145230032001@senator-bedfellow.mit.edu>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10bcce,f25b8fe85dff6cc0 X-Google-Attributes: gid10bcce,public X-Google-Thread: f635e,f25b8fe85dff6cc0 X-Google-Attributes: gidf635e,public X-Google-ArrivalTime: 2001-03-30 14:56:01 PST Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!newsfeed.wirehub.nl!howland.erols.net!feed2.news.rcn.net!feed1.news.rcn.net!rcn!NewsWatcher!user From: geek@geeksrus.com (Steve) Newsgroups: comp.sys.mac.programmer.codewarrior,codewarrior.mac Subject: Re: malloc Date: Fri, 30 Mar 2001 14:52:42 -0800 Lines: 20 Message-ID: <geek-3003011453120001@192.168.1.3> References: <geek-3003011104050001@192.168.1.3> <macdev-B358A3.15145230032001@senator-bedfellow.mit.edu> X-Trace: UmFuZG9tSVbOP81NVA2+s5C1ZG7nm3AJp0JKfzkTLMLWQ5uGLMNsyrOk0mvicMGD X-Complaints-To: abuse@rcn.com NNTP-Posting-Date: 30 Mar 2001 22:53:12 GMT User-Agent: NewsWatcher-X 2.2.3b1