os.listdir

Terry Reedy tjreedy at udel.edu
Thu Sep 11 22:00:23 CEST 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