[Issue 19405] New: Improve backwards UTF-8 decoding in stripRight
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Nov 16 07:51:34 UTC 2018
https://issues.dlang.org/show_bug.cgi?id=19405
Issue ID: 19405
Summary: Improve backwards UTF-8 decoding in stripRight
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P1
Component: phobos
Assignee: nobody at puremagic.com
Reporter: n8sh.secondary at hotmail.com
The backwards UTF-8 decoding in stripRight can be substantially sped up. With
the improvements it also becomes faster than foreach_reverse(dchar c; s) for
strings, so we can use it for strings and make them `@nogc` nothrow.
--
More information about the Digitalmars-d-bugs
mailing list