• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Performance with keyed archives
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Performance with keyed archives


  • Subject: Re: Performance with keyed archives
  • From: Shawn Erickson <email@hidden>
  • Date: Thu, 25 Nov 2004 08:37:26 -0800


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

_______________________________________________
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


  • Follow-Ups:
    • Re: Performance with keyed archives
      • From: Will Mason <email@hidden>
References: 
 >Re: Performance with keyed archives (From: Will Mason <email@hidden>)

  • Prev by Date: Re: Using AEBuild commands to send IM to iChat and AIM
  • Next by Date: Re: Unicode case conversion
  • Previous by thread: Re: Performance with keyed archives
  • Next by thread: Re: Performance with keyed archives
  • Index(es):
    • Date
    • Thread