D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 21559 - Speed up walkLength for narrow strings
Summary: Speed up walkLength for narrow strings
Status: RESOLVED FIXED
Alias: None
Product: D
Classification: Unclassified
Component: phobos (show other issues)
Version: D2
Hardware: All All
: P1 enhancement
Assignee: No Owner
URL:
Keywords: pull
Depends on:
Blocks:
 
Reported: 2021-01-19 15:28 UTC by Nathan S.
Modified: 2021-01-25 07:35 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Nathan S. 2021-01-19 15:28:20 UTC
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 Dlang Bot 2021-01-19 15:36:39 UTC
@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 Dlang Bot 2021-01-25 07:35:39 UTC
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