[swift-evolution] [Pitch] String revision proposal #1
ben_cohen at apple.com
Wed Apr 5 14:21:40 CDT 2017
> On Mar 31, 2017, at 2:00 AM, Brent Royal-Gordon <brent at architechies.com> wrote:
>> On Mar 30, 2017, at 2:42 PM, Ben Cohen via swift-evolution <swift-evolution at swift.org <mailto:swift-evolution at swift.org>> wrote:
>> (or rather, given substrings will be 2-3 words, the not-even-that-small string optimization)
> Wait, if you're using the `startIndex` and `endIndex` words for the small substring optimization, how are you keeping the indices interchangeable with the parent string's?
This will require the indices to know more than just a position in a buffer. It’s not certain this performance trade-off is worth it, being experimented with.
> Brent Royal-Gordon
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the swift-evolution