/ swift Public
[SR-1577] Ternary operator much slower to compile than if / else #44186
The Swift compiler in itself
Additional Detail from JIRA
A function with this line took about 4 seconds to compile in debug.
This equivalent version took only 5.4ms:
picksis an array of instances of an NSManagedObject subclass,
pick_lineare both optional Integer types. (I don't know if this is relevant).
Not sure if this should be labelled "Performance". Is that for issues in the compilation time or the performance of the compiled code.
The text was updated successfully, but these errors were encountered: