[Issue 10693] cartesianProduct with over 7 ranges causes segfault at compile time
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Jul 25 01:25:12 PDT 2013
http://d.puremagic.com/issues/show_bug.cgi?id=10693
Peter Alexander <peter.alexander.au at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |peter.alexander.au at gmail.co
| |m
--- Comment #4 from Peter Alexander <peter.alexander.au at gmail.com> 2013-07-25 01:25:10 PDT ---
This is caused by symbol sizes:
int[] a, b, c, d;
writeln(typeof(cartesianProduct(a, b)).mangleof.length);
writeln(typeof(cartesianProduct(a, b, c)).mangleof.length);
writeln(typeof(cartesianProduct(a, b, c, d)).mangleof.length);
534
4025
25003
It's growing exponentially per parameter.
--
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