• 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: (no subject)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: (no subject)


  • Subject: Re: (no subject)
  • From: Alastair Houghton <email@hidden>
  • Date: Sat, 8 Nov 2003 09:12:59 +0000

On 8 Nov 2003, at 01:44, Ambroise Confetti wrote:

Hi,

I'm switching from sequential to keyed archiving for saving my
application's documents (I know, I'm a bit late...). Everything works
fine, except... With sequential archiving, saving the whole object
graph took 0.5 s, and with keyed archiving it takes 23 s!

In fact, it's not a matter of keyed or sequential archiving, since it
also takes about 23 s if I use NSKeyedArchiver for sequential archiving
(which it can do).

Is this a known issue? Is there a way to speed things up?

There have been previous comments about the performance of NSKeyedArchiver as compared with other techniques. As far as I recall, the problem with it is that it has to do a lot of work to ensure that it doesn't fall foul of loops in your object graph... anyway, search the archives for more information on this one.

Kind regards,

Alastair.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Archiving performance (was: Re: (no subject))
      • From: Ambroise Confetti <email@hidden>
References: 
 >(no subject) (From: Ambroise Confetti <email@hidden>)

  • Prev by Date: Re: Controller Layer and Automatic Key-Value Observing
  • Next by Date: Re: Parameter lists
  • Previous by thread: (no subject)
  • Next by thread: Archiving performance (was: Re: (no subject))
  • Index(es):
    • Date
    • Thread