FROM : Steven Kramer
DATE : Fri Nov 26 19:02:57 2004
Op 25-nov-04 om 20:33 heeft Will Mason het volgende geschreven:
>> Fire up Shark to sample what is going on.
>
> Thanks for the advice. I did Shark it, and my code doesn't appear on
> the profile list when sorted according to time spent until item number
> 30, consuming a whopping 0.1% of the app's time. Everything that's
> slowing my app down is from CoreFoundation.
>
> I think I will file a bug, since when the new, fancy version of
> something is 121 times slower than the old, stinky version, then
> something is wrong.
>
Or the new version does a lot more than the old version, as is the case
here.
That said, someone did write a marginally faster version of
NSKeyedArchiver...please Google for it, because I lost the link months
ago. When I say marginally, I mean about 2x as fast. Which in my case
(like yours), was not enough because over archiving over a few thousand
keys soon becomes impractical with NSKeyedArchiver. It just wasn't made
for that many data.
Regards
Steven Kramer
--
<email_removed>
http://sprintteam.com/
Met vriendelijke groeten,
Steven Kramer
--
<email_removed>
http://sprintteam.com/
tel:+31 20 7780256
Balistraat 28hs 1094 JM Amsterdam
DATE : Fri Nov 26 19:02:57 2004
Op 25-nov-04 om 20:33 heeft Will Mason het volgende geschreven:
>> Fire up Shark to sample what is going on.
>
> Thanks for the advice. I did Shark it, and my code doesn't appear on
> the profile list when sorted according to time spent until item number
> 30, consuming a whopping 0.1% of the app's time. Everything that's
> slowing my app down is from CoreFoundation.
>
> I think I will file a bug, since when the new, fancy version of
> something is 121 times slower than the old, stinky version, then
> something is wrong.
>
Or the new version does a lot more than the old version, as is the case
here.
That said, someone did write a marginally faster version of
NSKeyedArchiver...please Google for it, because I lost the link months
ago. When I say marginally, I mean about 2x as fast. Which in my case
(like yours), was not enough because over archiving over a few thousand
keys soon becomes impractical with NSKeyedArchiver. It just wasn't made
for that many data.
Regards
Steven Kramer
--
<email_removed>
http://sprintteam.com/
Met vriendelijke groeten,
Steven Kramer
--
<email_removed>
http://sprintteam.com/
tel:+31 20 7780256
Balistraat 28hs 1094 JM Amsterdam
| 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

