[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] efficiency & memory



bart.mediamind@tornado.be (Bart Lateur) writes:
>Hmm... This makes one daydream. What if MacPerl could get more memory
>from the system pool, if what was allocated to the program just isn't
>enough. Just like the Finder does.

Yes, I've thought about this as well. However, this is not as simple as it
looks, because MacPerl does not free all memory allocated during a script
execution: Some blocks are allocated once and then reused until MacPerl quits,
and it would be intolerable IMHO if any of them came to reside in a temporary
memory partition. It is not easy either to identify these long lived blocks.

I'll think about this subject some more, however.

Matthias

-- 
Matthias Neeracher   <neeri@iis.ee.ethz.ch>   http://www.iis.ee.ethz.ch/~neeri
   "I'm set free to find a new illusion" -- Velvet Underground

***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch