swiftlang / swift-experimental-string-processing

An early experimental general-purpose pattern matching engine for Swift.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add [Sub]String specializations for `contains` and other search algorithms

milseman opened this issue · comments

Right now, contains() calls into the generic 2-way searcher which does Character loading and comparison, instead of doing the fast thing. We should specialize for String types.