Re: Newbie with stupid question cont.
Re: Newbie with stupid question cont.
- Subject: Re: Newbie with stupid question cont.
- From: Ondra Cada <email@hidden>
- Date: Tue, 19 Mar 2002 18:27:56 +0100
On Tuesday, March 19, 2002, at 05:52 , Oscar Morales Vivs wrote:
Wasn't it possible to re-init objects in Objective-C? I was thinking
about it as a possible approach to avoiding the memory manager overhead
in some easily controlled cases (like the one in the thread starting post)
, but I guess there's problems with that approach, like ensuring the
destructor gets called. Would this be a case where manually sending
dealloc would be a sensible thing to do?
IIRC, this is nicely solved in Marcel Weiher's MPWFoundation. Not that it
would be really interesting for newbies; just again (I guess this should
be in FAQ): Cocoa is pretty effective (even though crippled by the
CoreFoundation thing), so it's generally best first to make application
normally, and only after bottlenecks are found to go to optimize using
such tricks.
---
Ondra Cada
OCSoftware: email@hidden
http://www.ocs.cz
2K Development: email@hidden
http://www.2kdevelopment.cz
private email@hidden
http://www.ocs.cz/oc
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.