Re: Objective-C runtime questions
Re: Objective-C runtime questions
- Subject: Re: Objective-C runtime questions
- From: Kay Röpke <email@hidden>
- Date: Sun, 27 Feb 2005 16:53:26 +0100
Stéphane Sudre wrote:
On dimanche, février 27, 2005, at 03:46 PM, Nicko van Someren wrote:
- it is said that you can unload Objective-C modules (Page 104).
Yet, AFAIK, you can load a NSBundle but you can't unload it. So is it
just an issue with NSBundle that can be worked around?
I've no idea if you can but I suspect that on modern machines you
would very seldom actually need to do so since the code size of most
programs is a very small fraction of their working set. In fact s o m
e on this list might suggest it worrying about such memory consumption
issues smacks of premature optimisation ;-)
Well, my interest is not in memory optimization. It's about being able
to load a plug-in and be able to unload it. And if the code of the
plug-in has been modified, be able to load it again and use the new code.
That's exactly what I wanted to do, too. But see:
http://www.cocoabuilder.com/search/archive/cocoa?words=nsbundle+unload
Kay
_______________________________________________
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