[Issue 19983] New: Add fast path for std.internal.cstring.tempCString when copying an array without transcoding

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Jun 18 23:00:25 UTC 2019


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 at puremagic.com
          Reporter: n8sh.secondary at hotmail.com

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

--


More information about the Digitalmars-d-bugs mailing list