Hey  Guys,

Is it possible to forcibly reorder the python dictionary after "n" number
of inserts and deletions. As far as i know, python dictionary performs lazy
deletes. Thus , even if the data is deleted, python has a dummy data their
in order to preserve consistency. The python dictionary
keeps expanding when the size of dict is increasing, but after deleting a
few parameters the size does not decrease. Is there a way , where I can
forcibly resize the dictionary ?

I was thinking of copying content from existing dictionary to new dict and
deleting the previous one.But thats a cumbersome operation.

Thanks,
./Rahul
_______________________________________________
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers

Reply via email to