|
From: | Brian Blais |
Subject: | Re: speed of octave interpreter |
Date: | Sun, 25 Sep 2005 19:58:58 -0400 |
User-agent: | Mozilla Thunderbird 1.0.6 (X11/20050716) |
Stefan van der Walt wrote:
On Sun, Sep 25, 2005 at 01:35:23PM -0400, Brian Blais wrote:I am running Octave (2.1.71) on Linux (SuSe 9.1), and have written a simple recursive minimax example for a class, and it seemed to run very slowly. So, on a whim, I decided to test it in Scilab 3.0, Matlab 7.0Since you are dabbling with the murky art of recursion, you probably want to set ignore_function_time_stamp = "all"
Holy smokes! What a difference!
ignore_function_time_stamp = "system"; tic; nim_minimax(15); toc
ans = 56.552
ignore_function_time_stamp = "all"; tic; nim_minimax(15); toc
ans = 1.4262 thanks, bb -- ----------------- address@hidden http://web.bryant.edu/~bblais ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html -------------------------------------------------------------
[Prev in Thread] | Current Thread | [Next in Thread] |