The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Inactive » comp.soft-sys.math.mathematica

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: Timing puzzle - could Sow and Reap help?
Replies: 0  

Advanced Search

Back to Topic List Back to Topic List

Posts: 2
Registered: 4/12/13
Timing puzzle - could Sow and Reap help?
Posted: Apr 13, 2013 2:02 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Thanks to all who reply to my post. I understand now why there is no Array head. Array seems to be just a
symbol building function. Lists are stored as arrays, a la SLIP (a now dead language created by Joseph Weizembaum at MIT, which I used briefly in the early 1970s). Separating Lists and Arrays would make a significant improvement in efficiency in getting the best performance from each data structure. But that would take a significant kernel rewrite.

Going back to the test timer, I have never used Sow and Reap, as suggested. Could somebody illustrate how to built the test plot list with those? Then I can time it against the first 4 methods (as noted, any scheme using Table or Map is useless in practice since n is not known in advance). Thanks.

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.