digitalmars.D.bugs - [Issue 22280] New: [optimization]: std.conv.parse!(int, string)
- d-bugmail puremagic.com (18/18) Sep 04 2021 https://issues.dlang.org/show_bug.cgi?id=22280
https://issues.dlang.org/show_bug.cgi?id=22280 Issue ID: 22280 Summary: [optimization]: std.conv.parse!(int, string) counts when doCount is false Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: enhancement Priority: P1 Component: phobos Assignee: nobody puremagic.com Reporter: jack jackstouffer.com Counting increment instructions are still issued in std.conv.parse!(int, string) when the doCount template parameter is false. These lines should be behind a static if and save a couple of cycles. --
Sep 04 2021