octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

More on interpreter speed


From: John W. Eaton
Subject: More on interpreter speed
Date: Wed, 4 Oct 2006 11:15:50 -0400

On  4-Oct-2006, Quentin Spencer wrote:

| This may be of interest to those who have recently expressed interest in 
| finding ways of speeding up the interpreter. I was recently testing two 
| different ways of computing the same vector inside a function to see 
| which was fastest. My code was organized in the form:
| 
| tic
|   block A
| toc
| tic
|   block B
| toc
| 
| where blocks A and B compute the same thing in different ways, but using 
| some (not all) of the same intermediate variables. I was consistently 
| getting results that looked like this:
| Elapsed time is 0.025230 seconds.
| Elapsed time is 0.001198 seconds.

This could just be a bug.  Can you post a complete example that
demonstrates the problem?

jwe


reply via email to

[Prev in Thread] Current Thread [Next in Thread]