mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
The linkage change let the compiler generate code for public functions which are imported from the stdlib - and are also available in the swiftCore library. This got worse since we use public linkage for @_versioned internal functions in the stdlib. Getting rid of the linkage change reduces code size a lot: up to 40% for some projects. I didn’t see any significant impact on benchmark performance.
2.1 KiB
2.1 KiB