JMP 14.2 Online Documentation (English)
Discovering JMP
Using JMP
Basic Analysis
Essential Graphing
Profilers
Design of Experiments Guide
Fitting Linear Models
Predictive and Specialized Modeling
Multivariate Methods
Quality and Process Methods
Reliability and Survival Methods
Consumer Research
Scripting Guide
JSL Syntax Reference
JMP iPad Help
JMP Interactive HTML
Capabilities Index
JMP 13.2 Online Documentation
Scripting Guide
•
Efficient Scripts
• Scripting Numbers, Strings, Arrays, and Lists
For the latest version of JMP Help, visit
JMP.com/help
.
Previous
•
Next
Scripting Numbers, Strings, Arrays, and Lists
•
Use a faster algorithm. Replacing an O(n^2) algorithm with an O(n) algorithm is faster than anything else. See
https://en.wikipedia.org/wiki/Big_O_notation
for more information.
•
Avoid concatenating long strings. 100s of characters is OK; 1,000,000s of characters will be slow if you build the string in 1,000,000s of operations.
•
Use numeric arrays (matrices, not lists).
–
Use numeric arrays with operators that operate on the entire array.
–
Avoid writing loops to manipulate numeric arrays.
•
Use associative arrays for lookups.
Previous
•
Next
Help created on 3/19/2020