Tue, 13 Jul 2010 04:58:04 -0400, bearophile wrote: > Don: >> CTFE isn't intrinsically slow. The reason it's so slow in DMD right now >> is that the treatment of CTFE variables is done in an absurdly >> inefficient way. > > Are those arrays managed like immutable arrays in a functional language? > :-) To implement mutable arrays with an immutable data structure you > need a GC designed for it (like the Haskell one) and a different > underlying implementation, like a finger tree, that avoids most of the > copying and allocations :-)
Why so many smileys?
