← Back to index
|
Original Bugzilla link
Bug 18329 – std.algorithm.startsWith & endsWith can sometimes statically determine decoding unnecessary
Status
RESOLVED
Resolution
FIXED
Severity
enhancement
Priority
P1
Component
phobos
Product
D
Version
D2
Platform
All
OS
All
Creation time
2018-01-30T02:36:53Z
Last change time
2018-01-30T15:30:09Z
Assigned to
No Owner
Creator
Nathan S.
Comments
Comment #0
by n8sh.secondary — 2018-01-30T02:36:53Z
std.algorithm.startsWith & endsWith with a narrow string and a single-char/wchar/dchar search term can sometimes avoid auto-decoding.
Comment #1
by n8sh.secondary — 2018-01-30T02:48:40Z
Fix in
https://github.com/dlang/phobos/pull/6094
Comment #2
by github-bugzilla — 2018-01-30T15:30:08Z
Commits pushed to master at
https://github.com/dlang/phobos
https://github.com/dlang/phobos/commit/361a5c55ccdf32dab48b63844c6fc4d08bc68465
Fix Issue 18329 - std.algorithm.startsWith & endsWith can sometimes statically determine decoding unnecessary
https://github.com/dlang/phobos/commit/51ae131326732a975e3b0a23eb1880ceceaf7869
Merge pull request #6094 from n8sh/algorithm-startswith-nodecode Fix Issue 18329 - std.algorithm.startsWith & endsWith can sometimes statically determine decoding unnecessary