• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Improve performance of data structure saved to disk
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Improve performance of data structure saved to disk


  • Subject: Improve performance of data structure saved to disk
  • From: Juanjo Conti <email@hidden>
  • Date: Thu, 06 Aug 2015 00:17:58 -0300

Hi there!

At the moment I'm using Keyed-Archiving, but after detecting performance
issues and read I'm changing to Core-Data.

The data structure is a NSMutableDictionary in which keys are instantness
of a custom class CookieKey and values and instances of NSHTTPCookie.
CookieKey has 3 string properties (domain, path and name) and implements
NSCoding protocol.

In the new implementation CookieKey will extend NSManagedObject and have
the 3 string properties + a NSData one called cookie. And I'll work with a
NSMutableArray.

Is it a good idea? Another approach to use Core Data and improve
performance?

Thanks in advance!

--

Juanjo Conti <jjconti <http://goog_2023646312>@carouselapps.com
<email@hidden>>

Software Engineer - Carousel Apps <https://carouselapps.com>

--
Carousel Apps Limited, registered in England & Wales with registered number
7689440 and registered office Unit 2 Artbrand Studios, 7 Leathermarket
Street, London SE1 3HN. Any communication sent by or on behalf of Carousel
App Ltd or any of its subsidiary, holding or affiliated companies or
entities (together "Watu") is confidential and may be privileged or
otherwise protected. If you receive it in error please inform us and then
delete it from your system. You should not copy it or disclose its contents
to anyone. Messages sent to and from Watu may be monitored to ensure
compliance with our internal policies and to protect our business. Emails
are not secure and cannot be guaranteed to be error free. Anyone who
communicates with us by email is taken to accept these risks.
_______________________________________________

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


  • Follow-Ups:
    • Re: Improve performance of data structure saved to disk
      • From: Uli Kusterer <email@hidden>
    • Re: Improve performance of data structure saved to disk
      • From: Quincey Morris <email@hidden>
  • Prev by Date: Re: Swift enums and NSNotificationCenter
  • Next by Date: Re: Swift enums and NSNotificationCenter
  • Previous by thread: Re: Swift enums and NSNotificationCenter
  • Next by thread: Re: Improve performance of data structure saved to disk
  • Index(es):
    • Date
    • Thread