www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 19983] New: Add fast path for

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

          Issue ID: 19983
           Summary: Add fast path for std.internal.cstring.tempCString
                    when copying an array without transcoding
           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

When transcoding is unnecessary the exact length of the output is known and
memcpy can be used.

--
Jun 18 2019