os.listdir

Terry Reedy tjreedy at udel.edu
Thu Sep 11 16:00:23 EDT 2003


"Duncan Booth" <duncan at NOSPAMrcp.co.uk> wrote in message
> In C Python, all dictionaries have an initial size of 8 elements.
There is
> no way to override this (except recompiling!)

In you initialize a dict from a list of, say, 1000 (key,value) pairs,
does it really disregard list size?  at least after first 2/3rds
fillup?

Terry






More information about the Python-list mailing list