[Issue 12275] New: csvReader and static assert consumes too much memory
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Feb 27 17:45:36 PST 2014
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 at puremagic.com
ReportedBy: ttanjo at gmail.com
--- Comment #0 from Tomoya Tanjo <ttanjo at 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: -------
More information about the Digitalmars-d-bugs
mailing list