How turn-off C-run time library memory diagnostics?
How turn-off C-run time library memory diagnostics?
- Subject: How turn-off C-run time library memory diagnostics?
- From: "neal olander" <email@hidden>
- Date: Thu, 04 Aug 2005 22:33:04 -0700
I've got a time-critical application, written in C++, using Project Builder,
Mac OS-X.
The speed performance is not that great, especially in the memory management
functions free() and malloc(). For instance, a single free() takes over
1,000 microseconds! I'm building my application in Project Builder in the
"deployment" mode which uses the maximum -O3 optimization.
I'm starting to think that perhaps I'm linking in (or otherwise using) a
debug version of the C run-time library that has lots of error-checking and
memory-leak detection logic.
Question: In Mac OS-X (Project Builder) is there a way to turn OFF
diagnostic-debug logic in the C run-time library (especially memory leak
detection)? I suspect this diagnostic logic may be on, and I need a way
to turn it off.
Thanks in advance for any help!
neal
_______________________________________________
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