swift
8ff5da8f - stdlib: remove some @inlineables from String API functions.

Commit
7 years ago
stdlib: remove some @inlineables from String API functions. Beside the general goal to remove inlinable functions, this reduces code size and also improves performance for several benchmarks. The performance problem was that by inlining top-level String API functions into client code (like String.count) it ended up calling non-inlinable internal String functions eventually. This is much slower than to make a single call at the top-level API boundary into the library. Inside the library all the internal String functions can be specialized and inlined. rdar://problem/39921548
Author
Committer
Parents
Loading