Skip navigation.
 
mlRe: Performance with keyed archives
FROM : Shawn Erickson
DATE : Thu Nov 25 17:37:26 2004

On Nov 25, 2004, at 12:35 AM, Will Mason wrote:

>>      if you have an array of thousands of objects, you'd not store
>> each
>> of those in a separate key, you'd archive the array.. each of those
>> individual objects would then archive it's contents, and eventually
>> when you have your custom objects, those would be archived using the
>> keyed encoder methods.

>
> I'm archiving everything using non-keyed encoder methods. I don't
> understand why the non-keyed methods have such enormous performance
> differences when using NSArchiver vs NSKeyedArchvier.


Fire up Shark to sample what is going on. It may give you a better idea
of why a difference exists. If it looks to be Cocoa framework related
consider filing a bug with Apple.

-Shawn

Related mailsAuthorDate
mlPerformance with keyed archives Will Mason Nov 25, 01:44
mlRe: Performance with keyed archives Scott Anguish Nov 25, 02:57
mlRe: Performance with keyed archives Will Mason Nov 25, 09:35
mlRe: Performance with keyed archives Shawn Erickson Nov 25, 17:37
mlRe: Performance with keyed archives Will Mason Nov 25, 20:33
mlRe: Performance with keyed archives Steven Kramer Nov 26, 19:02