Roadmap for improving the type checker

I briefly checked a few bug reports of mine collected here:

Most of them are slower to compile now compared to Swift 5.8.

One specific instance stands out with 16.8 seconds with optimization turned on (13.8 seconds in Swift 5.7):

It’s just an array of 65536 UInt’s.

A type-sugared InlineArray is even worse:

let x: [65536 of UInt] = [0x1, ... , 0x10000, ]

46.7 seconds.

1 Like