Efficiency Improvements in Maple 10
A number of efficiency improvements have been applied to make Maple 10 faster and use less memory.
GNU Multiple Precision (GMP) Library
The internal interface between Maple and GMP has been improved. Maple now uses GMP integers to represent all non-immediate integers. This allows significant optimization within Maple. Operations on large integers are much faster than in previous release of Maple. This speed up has also affected floating-point operations, which are much faster at high Digits settings.
For commutative polynomials, the Groebner[Basis] command implements new algorithms for Groebner basis computation that are faster, in most cases, than the existing algorithms. You can control which algorithm is used with the method option. By default, the command makes a reasonable guess at the most efficient method available. For more information, see Groebner[Basis] and Groebner/Basis_details.
The option method="skew" selects an algorithm from Maple 9.5.
time(Basis(Cyclic5, plex(x,y,z,t,u), method="skew"));
Without specifying a method, Maple uses the new engine for commutative polynomials. (The variable x is renamed to override the caching mechanism.)
Subselection of regular shaped rtables is now faster in Maple. The code below now requires .279s, compared to 1.939s in Maple 9.5 on the same machine.
repmat := proc(a,m,n)
Computation of the Matrix exponential for real and complex floating-point data is significantly faster. In Maple 9.5.1, the example below requires 14.3 seconds and allocates 4652204 bytes more memory, run under Linux on a 2.4GHz Celeron(R). In Maple 10, this call to MatrixExponential requires 0.06 seconds and allocates only 458668 more bytes of memory.
M := Matrix(50,50,(i,j)->sin(i/30.)*cos(j/20.),datatype=float):
st := time():
sol := LinearAlgebra[MatrixExponential](M):
timeinc := time()-st;
Special code has been added to RootFinding[Analytic] to detect multiple roots, leading to a significant speedup in the presence of multiple roots.
On restart, the Maple kernel releases the memory it has allocated. After a restart, the amount of memory used by the kernel should be similar to the amount of memory used when the kernel first starts.
Index of New Maple 10 Features
Download Help Document
What kind of issue would you like to report? (Optional)