[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
## [Axiom-developer] Why is Axiom so slow?

**From**: |
Martin Rubey |

**Subject**: |
[Axiom-developer] Why is Axiom so slow? |

**Date**: |
04 Jul 2006 23:35:09 +0200 |

**User-agent**: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 |

Dear all,
I am just submitting my article about guessing formulas. One important aspect
of this article is that I am - contrary to the other packages - using fast
algorithms.
So, I wanted to do a speed comparison. I must say, I am shocked. Even though I
used certainly the best algorithms available, they are still *much* slower than
the naive versions in Mathematica or Maple.
I just did another test:
In[2]:= Timing[Table[Random[Integer, 100]+Random[Integer, 100],
{i,1,10000}]][[1]]
Out[2]= 0.1 Second
In[3]:= Timing[Table[Random[Integer, 100]+Random[Integer, 100],
{i,1,100000}]][[1]]
Out[3]= 1.01 Second
(1) ->
(1) -> )se me au of
(1) -> )time on
(1) -> l1 := [random(100) for i in 1..10000]; l2 := [random(100) for i in
1..10000];
Type: List Integer
Time: 0.01 (IN) + 14.66 (EV) + 0.25 (GC) = 14.92 sec
(2) -> [l1.i + l2.i for i in 1..2000];
Type: List Integer
Time: 1.16 (EV) + 0.45 (GC) = 1.61 sec
(3) -> [l1.i + l2.i for i in 1..3000];
Type: List Integer
Time: 2.47 (EV) + 0.88 (GC) = 3.35 sec
Any suggestions?
Martin

**[Axiom-developer] Why is Axiom so slow?**,
*Martin Rubey* **<=**