Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: Trees, Lists and NSArray
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Trees, Lists and NSArray




On 01/09/2006, at 6:24 PM, Ruotger Skupin wrote:


Consider an NSMutableDictionary of NSMutableArrays (where the dictionary key is the record size, and the array contains handles to each record).
Yeah I will try that. I don't think the memory footprint will go down, though.
It may, because NSArray is a class cluster, which means it is actually just a facade for a whole family of different classes. If your array is very large, Cocoa will actually store it in a memory-mapped file. This happens automatically behind the scenes. So it is possible that NSArray could help your memory problem.

Drew

---------------------------------------------------------
Drew McCormack

www.macanics.net


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
PerfOptimization-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Trees, Lists and NSArray (From: Ruotger Skupin <email@hidden>)
 >Re: Trees, Lists and NSArray (From: John Stiles <email@hidden>)
 >Re: Trees, Lists and NSArray (From: Ruotger Skupin <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.