From maintainers-request at octave dot org Sun Jan 30 01:08:24 2005 Subject: Re: min function very slow? From: "Dmitri A. Sergatskov" To: "John W. Eaton" CC: Daniel J Sebald , maintainers@octave.org Date: Sun, 30 Jan 2005 00:10:20 -0700 John W. Eaton wrote: > in checking whether the symbol needs to be reloaded. The problem goes > away for me if I define min and max in separate files (i.e., create > min.cc and max.cc, each with only one DEFUN_DLD macro) or if I set > ignore_function_time_stamp = "all" (I'm not sure why setting it to > "system" fails, even when the min/max functions are installed in a > "system" directory). Though ignore_function_time_stamp = "all", I still get mintime consistently longer then maxtime: octave:2> [looptime,maxtime,mintime]=mmt(10000) looptime = 0.046946 maxtime = 0.19471 mintime = 0.22528 octave:3> [looptime,maxtime,mintime]=mmt(10000) looptime = 0.040380 maxtime = 0.18160 mintime = 22.642 octave:4> ignore_function_time_stamp = "all" ignore_function_time_stamp = all octave:5> [looptime,maxtime,mintime]=mmt(10000) looptime = 0.040041 maxtime = 0.17199 mintime = 0.21179 ... octave:8> [looptime,maxtime,mintime]=mmt(30000) looptime = 0.10826 maxtime = 0.51337 mintime = 0.61531 octave:9> [looptime,maxtime,mintime]=mmt(300000) looptime = 0.97805 maxtime = 5.1094 mintime = 6.0628 > > jwe > Sincerely, Dmitri.