Hi all,
From what I understand, the Swift compiler may specialize a generic function based on a set of heuristics. Where are these heuristics implemented in the source code?
Hi all,
From what I understand, the Swift compiler may specialize a generic function based on a set of heuristics. Where are these heuristics implemented in the source code?
swift/GenericSpecializer.cpp at main · apple/swift · GitHub and swift/Generics.cpp at main · apple/swift · GitHub maybe?
Thank you! That seems to be it.