Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and
privacy statement. We’ll occasionally send you account related emails.
Already on GitHub?
to your account
Catalina 10.15.4b6, Xcode 11.4 beta 3 (11N132i)
I've tried to translate a piece of C-Code to Swift and learned that bit shifts to fill arrays increases compile time exponentially.
let bitmask = [
This compiles on a MacBook Pro i7 in 10s+ and one more line with two items doesn't compile anymore due to time out. Debug code size of this piece is more than 1KB.
The text was updated successfully, but these errors were encountered:
Sorry, something went wrong.
This is an issue with type checker performance.
Using -debug-constraints produces 165 MB of output, including:
Total number of scopes explored: 127940
Maximum depth reached while exploring solutions: 28
Comparing 6561 viable solutions
Exponential behavior, anyone?
No branches or pull requests