What's premature about it? -- Tito
> On Sep 9, 2013, at 10:14 AM, Marcel Weiher <marcel.wei...@gmail.com> wrote: > > Hi Jens, > > Premature optimization is the root of all evil! > > Er, I misspelled: “very cool, nice job!” > >> On Sep 9, 2013, at 18:11 , Jens Alfke <j...@mooseyard.com> wrote: >> >> [..] >> [fg160,160,160;16:34:40.488| [fg0,128,0;[;NSDateFormatter took 26.97 >> µsec >> [fg160,160,160;16:34:48.649| [fg0,128,0;[;CBLParseDate took 0.47 >> µsec (58x) >> >> Now, the tradeoff is that the optimized code parses only ISO 8601 dates — >> this is the informal standard used with JSON, so it’s become really common. >> It looks like “2013-09-09T17:52:12Z”. > > That might actually be a feature. (Also: didn’t know ISO did informal > standards…) > >> >> [1] >> http://vombat.tumblr.com/post/60530544401/date-parsing-performance-on-ios-nsdateformatter-vs >> [2] >> https://github.com/couchbase/couchbase-lite-ios/blob/master/Source/CBLParseDate.c > > Marcel > > > > _______________________________________________ > > 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/tciuro%40mac.com > > This email sent to tci...@mac.com _______________________________________________ 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