Re: Why does free() take 1,100 microseconds?
Re: Why does free() take 1,100 microseconds?
- Subject: Re: Why does free() take 1,100 microseconds?
- From: "Justin C. Walker" <email@hidden>
- Date: Tue, 26 Jul 2005 10:51:12 -0700
On Jul 26, 2005, at 10:42 , neal olander wrote:
Thanks for the suggestion.
I've already run the Shark profiler on the application. I've
pinpointed the slowness down to the free() function ... but I cant
get details inside that.
I'm posting to Darwin-dev rather than optimization because I
figured that Darwin-dev peopole might have more insight into the
internal operations of free().
I suppose my question could be re-worded as:
What could free() be doing that could possibly take 1,100
microseconds, and is there any thing I can do to reduce that time?
Or, is there a way for me to get access to the free() source code?
It's free :-} Check <http://developer.apple.com/darwin> and follow
the signs to the darwin source. malloc/free code is in the Libc
project.
Cheers,
Justin
--
Justin C. Walker, Curmudgeon-At-Large
Institute for General Semantics
--------
"Weaseling out of things is what separates us from the animals.
Well, except the weasel."
- Homer J Simpson
--------
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden