logoalt Hacker News

slavapestovyesterday at 11:33 PM0 repliesview on HN

Similarly, the ‘indirect’ keyword can be omitted from Swift example in the blog post, for the same reason. A Swift Array stores its elements out of line, so an enum case payload can be an array type whose element contains the same enum, without any additional indirection.