Memory ?

Shagshag13 shagshag13 at yahoo.fr
Mon Jul 8 05:17:48 EDT 2002


Great thanks for the reply ! It helps a lot to understand !

> I'm not sure what you mean by "boxed" in this context.

That i can' t guess the size of my arrays (range from 0 to ???)

> But if you don't need such alterations and
> insertions, a mapping from the compact set [0..N) to any multiset of
> N values is indeed faster and less memory-hungry as a sequence, typically
> a list, than as a dictionary

Sorry to ask but what do you call a "mapping" ?

Thanks in advance,

s13.





More information about the Python-list mailing list