MLUG: Re: [MLUG] mono
Re: [MLUG] mono
Email address obfuscation in effect -- please click here to turn it off.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
On Wed, 9 Nov 2005, Michael wrote:

   FWIW, a simple for loop is about 300 times faster
   in mono than in Octave.

Hopefully the porting will result in code cleanup and refactoring that will allow Octave programs to run at close to that 300x speed though. A common execution core shared between languages is a good idea partly because the reuse of code should result in a better and faster execution core. From this post it sounds as if Octave isn't terribly effecient in how it does this right now.

Loops are slow in Octave. It is fast on most matrix computations. We therefore try very hard to vectorize every function. Sometimes vectorizing uses a lot of memory for a short time, but it speeds up the code. R is faster than Octave on loops.


Mike

_______________________________________________
members mailing list
EMAIL:PROTECTED
http://mlug.missouri.edu/mailman/listinfo/members