On Feb 26, 2013, at 10:04 AM, Kyle Sluder <k...@ksluder.com> wrote:

> On Feb 26, 2013, at 9:47 AM, "Gerriet M. Denkmann" <gerr...@mdenkmann.de> 
> wrote:
> 
>>   But it does create unnecessary data. E.g. in the case of an array 
>> containing identical objects, like:
>>   NSArray *a = @[ @"a", @"a", ...., @"a"];
>>   With 1 000 000 items it creates 10,000,395 bytes - my version creates only 
>> 1 000 332 bytes 
>>   and the output is still readable by NSKeyedUnarchiver.
> 
> What are these 57 bytes you saved? Is it worth saving 57 bytes for the burden 
> of maintaining your own compatibility with NSKeyedArchiver?

Apparently I can't read thousands separators. I'll file a bug against my 
brain's lexer.

--Kyle Sluder
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to