[Issue 10779] cartesianProduct leads to heavy code bloat

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Aug 10 09:40:40 PDT 2013


http://d.puremagic.com/issues/show_bug.cgi?id=10779



--- Comment #2 from hsteoh at quickfur.ath.cx 2013-08-10 09:40:38 PDT ---
You are right, cartesianProduct uses a lot of templates internally. It's worse
with cartesianProduct of >2 arguments, it uses an exponential number of
templates. I'll have to rewrite it from scratch to not use existing range
templates. :-(  So much for dogfooding...

-- 
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