[Issue 2992] New: std.typecons has unnecessary thread local globals
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat May 16 10:44:30 PDT 2009
http://d.puremagic.com/issues/show_bug.cgi?id=2992
Summary: std.typecons has unnecessary thread local globals
Product: D
Version: 2.030
Platform: PC
OS/Version: Linux
Status: NEW
Keywords: performance
Severity: normal
Priority: P2
Component: Phobos
AssignedTo: bugzilla at digitalmars.com
ReportedBy: jason.james.house at gmail.com
CC: jason.james.house at gmail.com
The following is the offending code:
static string toStringHeader = Tuple.stringof ~ "(";
static string toStringFooter = ")";
static string toStringSeparator = ", ";
The variables should be declared invariant
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list