Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

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


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

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

Advanced Search

Back to Topic List Back to Topic List  
carlos%colorado.edu@gtempaccount.com

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]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.