Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

3
  • 3
    $\begingroup$ This is a very long post considering how little novel insight it offers. Leonid (and the documentation) has already warned us about using CopyTensor excessively. The number of lines in C does not really correlate with evaluation speed: sometimes it is more fast if steps of a loop are explicitly written (more lines) then put in a loop. For successive list building, Internal`Bag is one really fast solution. A better, more concise summary would be more useful than all the CompilePrint output. $\endgroup$ Commented Feb 15, 2014 at 15:03
  • 2
    $\begingroup$ You are right. I'm trying to do it shorter and more concise, but as you are an expert so maybe your point of view is different with the beginner's view. $\endgroup$ Commented Feb 16, 2014 at 10:28
  • 3
    $\begingroup$ Sure DaoTRINH, you're right about the viewpoints (though I don't consider myself an expert), and it is most important that you did a systematic investigation of the problem! Sorry for the blunt comment, keep it up, such approaches will do good use for the community :) $\endgroup$ Commented Feb 16, 2014 at 14:56