You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wanted to contribute the following code that uses generics, overloads, closures, and String initializers to produce a relatively short expression take 10 seconds or so to compile:
Additional Detail from JIRA
md5: 55b28a544364316a0bf385d9e2b129c2
Issue Description:
I wanted to contribute the following code that uses generics, overloads, closures, and String initializers to produce a relatively short expression take 10 seconds or so to compile:
There are tricks one can employ to improve the compilation time by a lot:
Explicitly specify a generic (in the Prefix type, for example)
Explicitly define the types in the map closure
Use string interpolation instead of a string initializer
Hopefully, though, improvements can be made to the type checker to get things building a bit more quickly.
The text was updated successfully, but these errors were encountered: