February 28, 2014 [Issue 12275] New: csvReader and static assert consumes too much memory | ||||
---|---|---|---|---|
| ||||
https://d.puremagic.com/issues/show_bug.cgi?id=12275 Summary: csvReader and static assert consumes too much memory Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: Phobos AssignedTo: nobody@puremagic.com ReportedBy: ttanjo@gmail.com --- Comment #0 from Tomoya Tanjo <ttanjo@gmail.com> 2014-02-27 17:45:35 PST --- The following code consumes too much memory (over 16GB). It happens when using DMD v2.065-devel-5ffe893 on Linux 64bit. ---- import std.csv; import std.array; import std.algorithm; void main() { enum x = "a,b,c\nd,e,f"; enum r = csvReader!string(x); static assert(r.map!"a.array".array); } ---- -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
Copyright © 1999-2021 by the D Language Foundation