mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Streamline internal String creation. Previously, everything funneled into a single generic function, however, every single call of the generic funnel had relevant specific information that could be used for a more efficient algorithm. In preparation for efficiently forming small strings, refactor this logic into a handful of more specialized subroutines to preserve more specific information from the callers.