Wolfram Library Archive


Courseware Demos MathSource Technical Notes
All Collections Articles Books Conference Proceedings
Title Downloads

Principles for Efficient Mathematica Programs
Author

Carl Woll
Organization: Wolfram Research, Inc.
Department: Special Projects
Conference

2007 Wolfram Technology Conference
Conference location

Champaign, IL
Description

Abstract

MathGroup frequently presents opportunities for users to develop quick, efficient code to solve a wide variety of problems. In this talk I will present various principles that I have come across in participating in these algorithmic explorations. These principles usually involve optimized data structures such as PackedArray objects and the optimal use of built-in functions, but can also include various optimizations that occur behind the scenes such as autocompilation and listability. The basic theme to all of these principles is to avoid using top-level code to do loops, and instead let the lower level internal code handle these loops.
Subject

*Wolfram Technology
URL

http://www.wolfram.com/news/events/techconf2007/
Downloads Download Wolfram CDF Player

Download
EfficientProgramming.nb (432 KB) - Mathematica Notebook [for Mathematica 6.0]