Home

In article <1188985838.661821.41530@k79g2000hse.googlegroups.com>,
Dr Mephesto <dnhkng@googlemail.com> wrote:
>
>I would like to create a pretty big list of lists; a list 3,000,000
>long, each entry containing 5 empty lists. My application will append
>data each of the 5 sublists, so they will be of varying lengths (so no
>arrays!).

Why do you want to pre-create this? Why not just create the big list and
sublists as you append data to the sublists?
--
Aahz (aahz@pythoncraft.com) <*> http://www.pythoncraft.com/

"Many customs in this life persist because they ease friction and promote
productivity as a result of universal agreement, and whether they are
precisely the optimal choices is much less important." --Henry Spencer
http://www.lysator.liu.se/c/ten-commandments.html

previous
next

Re: module confusion
Re: how to get output.
Re: list index()
problem writing setup script
Re: Thread Safe, Standard Template Library, and C++
Fundacja Sloneczko
Mimo Wszystko
Dzieci Niczyje
Pajacyk
Fundacja Iskierka