Bug 18397 – Poor implementation of std.conv.hexString results in unintended bloat
Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P1
Component
phobos
Product
D
Version
D2
Platform
All
OS
All
Creation time
2018-02-08T01:45:22Z
Last change time
2018-02-09T14:35:35Z
Assigned to
No Owner
Creator
Walter Bright
Comments
Comment #0 by bugzilla — 2018-02-08T01:45:22Z
import std.conv;
void test() {
auto data = cast(ubyte[]) hexString!"deadbeef";
}
Results in quite a bit of unexpected template bloat emitted into the object file, not all of which is removed by the linker.
Comment #1 by greensunny12 — 2018-02-08T02:44:46Z
*** Issue 18395 has been marked as a duplicate of this issue. ***