Re: 30x faster JSON date parsing
Re: 30x faster JSON date parsing
- Subject: Re: 30x faster JSON date parsing
- From: Marcel Weiher <email@hidden>
- Date: Mon, 09 Sep 2013 19:16:48 +0200
On Sep 9, 2013, at 19:05 , Jean-Daniel Dupas <email@hidden> wrote:
>
> Le 9 sept. 2013 à 18:11, Jens Alfke <email@hidden> a écrit :
>
>> [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)
>
> Isn't it possible to parse it using the libc function strftime ? How does it compare to the other solutions ?
If I read it correctly, 3-8 times slower than using SQLite, so I guess 6-16 times slower than Jens’s code.
https://news.ycombinator.com/item?id=6344746
Marcel
_______________________________________________
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