<div dir="ltr"><div>On the swift-dev list they announced the 2.2 branch is now under restrictive change control. If you're been putting off checking it out, I'd suggest the next snapshot is worth a look.</div><div><br></div><div>I did some benchmarks on the last snapshot using a Parks-McClellan filter design algorithm. The algorithm is heavy on floating point arithmetic with a little trig while iterating over arrays.<br></div><div><br></div><div><pre style="overflow:auto;font-size:15px;margin-top:0px;margin-bottom:0px;line-height:normal;white-space:pre-wrap;color:rgb(51,51,51)"><font face="monospace, monospace"> C: 2.07ms
Swift 2.2: 2.10ms
Swift 2.1: 2.70ms
Go 1.5.2: 2.93ms
Ruby 2.0.0: 85.50ms</font></pre><div><font face="monospace, monospace"><br></font></div><div>Math performance is important to my plans for Swift, so this makes me happy. Ruby and Go haven't improved on this benchmark in two years.</div><div><br></div></div><div>The Parks-McClellan filter design algorithm is hosted here:<br><a href="https://github.com/AE9RB/firpm" target="_blank">https://github.com/AE9RB/firpm</a><br><br>Unfortunately, compile times are longer in 2.2. But one day we'll have it all.<br><br>-david <a href="https://github.com/AE9RB/SwiftGL" target="_blank">https://github.com/AE9RB/SwiftGL</a></div></div>