From: Hugh Sasse Staff Elec Eng Date: 2000-11-17T03:03:10+09:00 Subject: [ruby-talk:6401] Array.fill with block? Does anyone else think that it might be a good idea for Array.fill to take a block to compute the value for each successive element? I'm thinking that it might be faster/more efficient than Array.collect! because it need not pass in the value each time. It could pass in the index number, perhaps. Hugh hgs@dmu.ac.uk