digitalmars.D.bugs - [Issue 19405] New: Improve backwards UTF-8 decoding in stripRight
- d-bugmail puremagic.com (17/17) Nov 15 2018 https://issues.dlang.org/show_bug.cgi?id=19405
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 puremagic.com Reporter: n8sh.secondary 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. --
Nov 15 2018