<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Feb 19, 2016, at 1:19 PM, Vanderlei Martinelli via swift-evolution <<a href="mailto:swift-evolution@swift.org" class="">swift-evolution@swift.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">Hello.<div class=""><br class=""></div><div class="">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).</div><div class=""><br class=""></div><div class="">You can read more info in articles like this one: <a href="https://blog.sudeium.com/2014/12/10/swift-performance-too-slow-for-production/" class="">https://blog.sudeium.com/2014/12/10/swift-performance-too-slow-for-production/</a></div><div class=""><br class=""></div><div class="">Other thing: since I am talking indirectly of JSON parsing, there is some expectation that it be handled natively on the Swift, with a suitable JSON data format than just dictionary/array?</div></div></div></blockquote><div><br class=""></div><div>If you find a specific test case that is slower than objective-c, please create a benchmark and contribute it via pull request. The benchmarks are located in ./swift/benchmark/</div><div><br class=""></div><div>Michael</div><br class=""><blockquote type="cite" class=""><div class=""><div dir="ltr" class=""><div class=""><br class=""></div><div class="">Regards,</div><div class=""><br class=""></div><div class="">-Van</div><div class=""><br class=""></div></div>
_______________________________________________<br class="">swift-evolution mailing list<br class=""><a href="mailto:swift-evolution@swift.org" class="">swift-evolution@swift.org</a><br class="">https://lists.swift.org/mailman/listinfo/swift-evolution<br class=""></div></blockquote></div><br class=""></body></html>