Hi Dave,

On Mon, Nov 19, 2001 at 11:31:03PM +0900, Dave Thomas wrote:
> This is a silly answer, but depending on the usage patterns, you might
> also want to look at
> 
>   @a = ...
>   @b = ...
> 
>   c = Array.new
>   def c.[](n)
>     @a[n] + @b[n]
>   end
> 
> This would be a win if the accessed only a subset of the result (and
> if all accesses go through []).

Cool, seems to be a kind of lazy evaluation!
Unfortunately it doesn't fit my need very well.

Thanks anyway,
Martin.

-- 
The early bird catches the worm. If you want something else for       
breakfast, get up later.