www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 19404] New: Optimize std.string.stripRight

https://issues.dlang.org/show_bug.cgi?id=19404

          Issue ID: 19404
           Summary: Optimize std.string.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

`stripLeft` can entirely avoid decoding for wchar arrays and can benefit from
an ASCII fast path for char arrays.

--
Nov 15 2018