command@alexbbs.twbbs.org wrote:
i have try [ [] for x in xrange(2**25) ]
Are you really going to be adding data to all
of those sublists?
If you're only using them sparsely, it may be
better to use a dictionary in place of the
top level list, and only add sublists as and
when necessary.
if i want to create a list of list which size is 2**25
how should i do it?
i have try [ [] for x in xrange(2**25) ]
but it take too long to initial the list
is there any suggestion?
Thanks a lot!
--
[1;36mâ»Post by [37mcommand [36mfrom [33m59-124-255-226.HINET-IP.[m
[1;36mèé¼ ç
command@alexbbs.twbbs.org (§ä´m¦Ã¤vª�...@¤ù¤Ã) writes:
> if i want to create a list of list which size is 2**25
>
> how should i do it?
>
> i have try [ [] for x in xrange(2**25) ]
>
> but it take too long to initial the list
>
> is there any suggestion?
What is it you want t