> On Mar 31, 2017, at 2:00 AM, Brent Royal-Gordon <[email protected]> > wrote: > >> On Mar 30, 2017, at 2:42 PM, Ben Cohen via swift-evolution >> <[email protected] <mailto:[email protected]>> 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 > Architechies >
_______________________________________________ swift-evolution mailing list [email protected] https://lists.swift.org/mailman/listinfo/swift-evolution
