FROM : Ivan Kourtev
DATE : Mon Apr 25 00:33:19 2005
Hi,
I am experimenting with archiving for very large data. After quickly
discovering that NSKeyedArchiver for complex object graphs is
prohibitively slow, I've been able to improve the performance of
archiving by reorganizing my data and switching to non-keyed archiving
(using NSArchiver).
However, it seems NSArchiver does not have methods for archiving basic
C types (for example, there is encodeInt:forKey but there is no
encodeInt:). So what is the proper way to encode the primitive C types
with NSArchiver? Is it the encodeBytes:length: method? Or maybe I
have missed something obvious?
Thanks for any suggestions.
-- ivan
DATE : Mon Apr 25 00:33:19 2005
Hi,
I am experimenting with archiving for very large data. After quickly
discovering that NSKeyedArchiver for complex object graphs is
prohibitively slow, I've been able to improve the performance of
archiving by reorganizing my data and switching to non-keyed archiving
(using NSArchiver).
However, it seems NSArchiver does not have methods for archiving basic
C types (for example, there is encodeInt:forKey but there is no
encodeInt:). So what is the proper way to encode the primitive C types
with NSArchiver? Is it the encodeBytes:length: method? Or maybe I
have missed something obvious?
Thanks for any suggestions.
-- ivan
| Related mails | Author | Date |
|---|---|---|
| Ivan Kourtev | Apr 25, 00:33 | |
| Will Mason | Apr 25, 00:49 | |
| Marcel Weiher | Apr 25, 14:41 |






Cocoa mail archive

