<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 Oct 23, 2017, at 3:19 AM, Mike Kluev via swift-evolution &lt;<a href="mailto:swift-evolution@swift.org" class="">swift-evolution@swift.org</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">having Codable does not contradict having introspection / reflection.&nbsp;</span></div></blockquote><div><br class=""></div><div>But we don't have general introspection/reflection/dynamic invocation. &nbsp;Which would have been a more worthwhile thing to spend time on as it enables many more features.</div><br class=""><blockquote type="cite" class=""><div class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">general (or shall we say custom) approaches that use introspection / reflection tend to work much slower (from Objective-C experience). i have no data if Codable is performant in these regards but at least it has a potential to be more optimal than a general solution based on introspection / reflection.</span></div></blockquote></div><br class=""><div class="">Performance is at the very bottom of my list of things I care about - especially with regard to JSON processing or other format translations where the program is IO bound.</div><div class=""><br class=""></div><div class="">My Objective C KVC based mapper to SQLite was incredibly performant with mapkit when I was mapping thousands of pins stored in a very large local database. &nbsp;Performance, as an argument against flexibility, is completely unpersuasive.</div><div class=""><br class=""></div><div class="">Stuff is much more than fast enough in the application domain.&nbsp;</div></body></html>