Gregory Lypny wrote/ schreef:

> Hi Everyone,
> 
> As you may know from a recent posting I've made to this list ("Re:
> Graphing stack or script and matrix calculations"), I'm developing a
> simple stack that computes descriptive statistics for a user-supplied
> data set or a randomly-generated series.
> 
> I have a question about handler execution speed.  The main handler
> in the stack generates a series of random numbers, computes the
> statistics, and displays the results in two fields: one small field for
> the statistics, and a scrolling field for the data.  All of the
> calculations are done using variables with the screen locked.  It takes
> about 5 seconds to execute the handler for 1,000 data points, which I
> think is fine given my primitive scripting skills; but when I increase
> the size of the data set to 5,000, it takes about 160 seconds or 32 times
> longer.  Would anyone care to share their thoughts on the exponential
> increase in processing time?  (Incidentally, I'm working with a 350 mHz
> iMac, if that is relevant.)
Could you post the script(s) to the list, or if the context of your stack is
also important, could you give the url where we can download it?

What I can tell you by now, is that (if you program in C or something) an
external function does execute very much faster. But of course, you'll have
to re-program the script in C.
> Regards,
> 
> Greg
Regards,
Sjoerd


Archives: http://www.mail-archive.com/[email protected]/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.

Reply via email to