From: Philippe Monnier Date: 2002-01-23T00:09:12+09:00 Subject: swapping arrays Hello, I've tried to comput a half array of n*(n-1) of reals or arrays of reals @prox = Array.new for i in 1..@bornesup-1 @prox[i] = Array.new for j in i+1..@bornesup @prox[i][j] = .... end end I improved big swap with n=510 and each @prox[i][j] containing an array with 16 real values. To prevent this, and keep my array in memmory : Should I declare a non dynamic array as I know allready exactly the memory for this ? but How ? Thanks, Philippe ------------------------------------------ ENST -#- mailto:monnier@infres.enst.fr -#- http://www.infres.enst.fr/~monnier -#- T�l.(33)145817744 Fax ~3119 -#-