Re: NSFileWrapper serializedRepresentation
Re: NSFileWrapper serializedRepresentation
- Subject: Re: NSFileWrapper serializedRepresentation
- From: "Gerriet M. Denkmann" <email@hidden>
- Date: Mon, 04 Apr 2016 23:59:32 +0700
> On 4 Apr 2016, at 23:49, Jens Alfke <email@hidden> wrote:
>
>
>> On Apr 4, 2016, at 1:18 AM, Gerriet M. Denkmann <email@hidden> wrote:
>>
>> When I do this in OS X 10.11.4 dataRaw = 30380898, dataCompressed = 5638680 ( 18.6 %)
>> But in the iOS Simulator 9.3.1: dataRaw = 28206422, dataCompressed = 4282602 ( 15.2 %)
>>
>> That is OS X (10.11.4) makes an 8 % bigger FileWrapper compared to iOS (9.3.1), which also compresses less well → 32% overhead.
>
> You’re compressing different data, so the compression level is going to be different. Try compressing exactly the same data on both platforms, if you really want a comparison.
Both the Simulator and the OS X App compress the same folder (which resides on OS X).
Kind regards,
Gerriet.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden