in reply to better way to init an array ?

Use an infinite list. Either MJD's implementation or the one in Language::Functional!