Bug 21559 – Speed up walkLength for narrow strings

Status
RESOLVED
Resolution
FIXED
Severity
enhancement
Priority
P1
Component
phobos
Product
D
Version
D2
Platform
All
OS
All
Creation time
2021-01-19T15:28:20Z
Last change time
2021-01-25T07:35:39Z
Keywords
pull
Assigned to
No Owner
Creator
Nathan S.

Comments

Comment #0 by n8sh.secondary — 2021-01-19T15:28:20Z
walkLength can be significantly sped up for narrow strings in the common case where they begin with a run of characters that do not require decoding.
Comment #1 by dlang-bot — 2021-01-19T15:36:39Z
@n8sh created dlang/phobos pull request #7755 "Speed up walkLength for narrow strings" fixing this issue: - Fix Issue 21559 - Speed up walkLength for narrow strings https://github.com/dlang/phobos/pull/7755
Comment #2 by dlang-bot — 2021-01-25T07:35:39Z
dlang/phobos pull request #7755 "Speed up walkLength for narrow strings" was merged into master: - 3733c9d20227d5a7f76b6a79b812d1f5ee1055b3 by Nathan Sashihara: Fix Issue 21559 - Speed up walkLength for narrow strings https://github.com/dlang/phobos/pull/7755