https://issues.dlang.org/show_bug.cgi?id=18328
Issue ID: 18328
Summary: algorithm.startsWith can compare narrow string lengths
in more circumstances
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: trivial
Priority: P1
Component: phobos
Assignee: [email protected]
Reporter: [email protected]
algorithm.startsWith can check `haystack.length < needle.length` in more
circumstances than it currently does when one or both of haystack/needle are
narrow strings.
--
