From: MikkelFJ Date: 2002-12-02T01:23:20+09:00 Subject: Re: Numerical Ruby "Masahiro TANAKA" wrote in message news:20021201.192929.41625961.masa@ir.isas.ac.jp... > @Bz[1..-2,1..-2] += (dt/dy)*(@Ex[2..-1,1..-2] - @Ex[1..-2,1..-2]) > end > > For 500x500 array, the result of benchmark on my machine is: > > with loop: 8.69 sec > without loop: 0.31 sec This is actually pretty cool - now how much code would you need in C to get the same performance. There is only one tiny small step from here to use the message passing interface MPI and have parallel computations on computer grids - I think there are few around which you can hook up to, although I've never tried it. Mikkel