swift statically allocated closures https://mjtsai.com/blog/2019/01/17/stack-allocation-for-non-escaping-swift-closures/