Avatar
string1 += string2 はちゃんと string1 = string1 + string2 よりも効率的に実装されてるのか。 https://github.com/apple/swift/blob/master/stdlib/public/core/String.swift#L575-L577
The Swift Programming Language. Contribute to apple/swift development by creating an account on GitHub.
7:17 AM
他の += もかな。
7:18 AM
The Swift Programming Language. Contribute to apple/swift development by creating an account on GitHub.