[Patches] [ python-Patches-1200051 ] Small optimization for PyDict_Merge()
SourceForge.net
noreply at sourceforge.net
Wed May 11 20:02:31 CEST 2005
Patches item #1200051, was opened at 2005-05-11 14:02
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1200051&group_id=5470
Category: Core (C code)
Group: Python 2.4
Status: Open
Resolution: None
Priority: 5
Submitted By: Barry A. Warsaw (bwarsaw)
Assigned to: Raymond Hettinger (rhettinger)
Summary: Small optimization for PyDict_Merge()
Initial Comment:
This patch avoids repeated PyDict_GetItem() calls when
'a' in PyDict_Merge() is known to be empty.
Optimization found by Matt Messier.
This could also be applied to Python 2.5.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1200051&group_id=5470
More information about the Patches
mailing list