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
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 mails | Author | Date |
|---|---|---|
| Will Mason | Nov 25, 01:44 | |
| Scott Anguish | Nov 25, 02:57 | |
| Will Mason | Nov 25, 09:35 | |
| Shawn Erickson | Nov 25, 17:37 | |
| Will Mason | Nov 25, 20:33 | |
| Steven Kramer | Nov 26, 19:02 |






Cocoa mail archive

