September 05, 2021 [Issue 22280] New: [optimization]: std.conv.parse!(int, string) counts when doCount is false | ||||
---|---|---|---|---|
| ||||
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. -- |
Copyright © 1999-2021 by the D Language Foundation