digitalmars.D.bugs - [Issue 12275] New: csvReader and static assert consumes too much memory
- d-bugmail puremagic.com (28/28) Feb 27 2014 https://d.puremagic.com/issues/show_bug.cgi?id=12275
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 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: -------
Feb 27 2014