usually possible. Geekbench - FFT and Mandelbrot Swift matches C++ but GEMM was 4 x faster in C++. David Owens - Gradient render 7 times faster in C (-Ofast). @jl_hfl
Global/class/static var (let is fine) ▸ Function calls that can't be inlined ▸ Access via protocol or to non-final class methods/properties ▸ @objc or NSObject @jl_hfl
My blog has several performance related posts: http://blog.human- friendly.com/ I'm @jl_hfl on Twitter. Thanks to Simon Gladman for the original Cellular Automata code. @jl_hfl