• 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
Re: 30x faster JSON date parsing
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 30x faster JSON date parsing


  • Subject: Re: 30x faster JSON date parsing
  • From: Scott Ribe <email@hidden>
  • Date: Mon, 09 Sep 2013 17:03:09 -0600

On Sep 9, 2013, at 11:35 AM, Jens Alfke <email@hidden> wrote:

> I’m not sure if you meant that ironically, but it’s absolutely not premature. I’ve run into major NSDateFormatter bottlenecks — as in “hm, over half the time to open this file is spent inside NSDateFormatter” — at least twice, and the author of the blog post I linked to says that he also found it to be a major performance issue in data parsing.

Me too. In my case, there was a lot of redundancy, and I use a lot of C++ and low-level C already, so I got a huge performance gain just from map<const char *, double, staticFuncThatCallsStrCmp> to cache values as they were parsed...

--
Scott Ribe
email@hidden
http://www.elevated-dev.com/
(303) 722-0567 voice





_______________________________________________

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


References: 
 >30x faster JSON date parsing (From: Jens Alfke <email@hidden>)
 >Re: 30x faster JSON date parsing (From: Marcel Weiher <email@hidden>)
 >Re: 30x faster JSON date parsing (From: Jens Alfke <email@hidden>)

  • Prev by Date: Re: ARC vs Manual Reference Counting
  • Next by Date: Crashing Problem calling postNotificationName
  • Previous by thread: Re: 30x faster JSON date parsing
  • Next by thread: Re: 30x faster JSON date parsing
  • Index(es):
    • Date
    • Thread