• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: How turn-off C-run time library memory diagnostics?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How turn-off C-run time library memory diagnostics?


  • Subject: Re: How turn-off C-run time library memory diagnostics?
  • From: Scott Ribe <email@hidden>
  • Date: Fri, 05 Aug 2005 13:13:05 -0600

> System-provided malloc/free can't be expected to be high-performers,
> because they don't know anything about
> your application's algorithm or memory usage patterns.

Sometime around Jaguar/Panther Apple claimed to have implemented
high-performance multi-threaded malloc/free in the standard libraries. I
haven't had occasion to test those claims.

Granted, a custom allocator can often do better for specific
application-dependent patterns of use, but much of the "system-provided
can't be expected to..." arguments I've seen over the years were just weak
excuses for simple-minded implementations. For instance: CW did pretty well,
SmartHeap was fantastic, the one in Symantec Think C++ 6 was a stinking pile
of garbage.


--
Scott Ribe
email@hidden
http://www.killerbytes.com/
(303) 665-7007 voice


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: How turn-off C-run time library memory diagnostics?
      • From: Gen Kiyooka <email@hidden>
References: 
 >Re: How turn-off C-run time library memory diagnostics? (From: Gen Kiyooka <email@hidden>)

  • Prev by Date: Hiding the disclosure triangle in NSOutlineView
  • Next by Date: Re: objc and RDBMS
  • Previous by thread: Re: How turn-off C-run time library memory diagnostics?
  • Next by thread: Re: How turn-off C-run time library memory diagnostics?
  • Index(es):
    • Date
    • Thread