[swift-evolution] Swift Performance (JSON parsing, for example)

Joe Groff jgroff at apple.com
Fri Feb 19 15:22:41 CST 2016


> On Feb 19, 2016, at 1:19 PM, Vanderlei Martinelli via swift-evolution <swift-evolution at swift.org> wrote:
> 
> Hello.
> 
> This is not a request for change in the syntax and I don't if this is the appropriate place, but for many Swift programmers experience and my own experience, some things in Swift are very, very slow than  Objective-C and other languages. One of these things is parsing JSON data using dictionaries/arrays (using Swift native types or NSDictionary, the result is near the same).
> 
> You can read more info in articles like this one: https://blog.sudeium.com/2014/12/10/swift-performance-too-slow-for-production/ <https://blog.sudeium.com/2014/12/10/swift-performance-too-slow-for-production/>
That particular article is almost a year old. We looked at this very workload and improved its performance significantly in Swift 1.2.

-Joe

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20160219/c07d8f4b/attachment-0001.html>


More information about the swift-evolution mailing list