[Patches] [ python-Patches-1397848 ] dictnotes.txt

SourceForge.net noreply at sourceforge.net
Thu Feb 15 10:53:17 CET 2007


Patches item #1397848, was opened at 2006-01-05 16:59
Message generated for change (Comment added) made by loewis
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1397848&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Documentation
Group: None
>Status: Closed
>Resolution: Accepted
Priority: 5
Private: No
Submitted By: Jim Jewett (jimjjewett)
Assigned to: Raymond Hettinger (rhettinger)
Summary: dictnotes.txt

Initial Comment:
Please add the reasoning behind no-resize-on-shrinkage. 

This replacement version does so by adding two 
additional tunable parameters and one paragraph at the 
end of the tunable parameters section.  It does 
document that the current CPython does not use (or even 
directly represent) these parameters, and explains why.



----------------------------------------------------------------------

>Comment By: Martin v. Löwis (loewis)
Date: 2007-02-15 10:53

Message:
Logged In: YES 
user_id=21627
Originator: NO

Thanks for the patch, applied as r53782. I also added a sentence
mentioning an algorithm that completely empties a dictionary and sees no
resizing while doing so.

Please always submit patches as unified diffs; I had to undo two typos
that had been fixed since you edited the file.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1397848&group_id=5470


More information about the Patches mailing list