[Issue 12957] std.algorithm.cartesianProduct is sometimes very slow to compile
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Thu Jun 26 08:05:49 PDT 2014
https://issues.dlang.org/show_bug.cgi?id=12957
hsteoh at quickfur.ath.cx changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |hsteoh at quickfur.ath.cx
--- Comment #1 from hsteoh at quickfur.ath.cx ---
Yeah, we need to rethink the implementation of cartesianProduct; currently, it
produces an exponential number of template instantiations with the number of
arguments, which is not scalable at all. :-(
--
More information about the Digitalmars-d-bugs
mailing list