[Patches] [ python-Patches-1548082 ] "for x in setliteral" peepholer optimization

SourceForge.net noreply at sourceforge.net
Mon Aug 28 19:38:19 CEST 2006


Patches item #1548082, was opened at 2006-08-28 17:38
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=1548082&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: Core (C code)
Group: Python 3000
Status: Open
Resolution: None
Priority: 5
Submitted By: Georg Brandl (gbrandl)
Assigned to: Nobody/Anonymous (nobody)
Summary: "for x in setliteral" peepholer optimization

Initial Comment:
Like "for x in tuple_or_list", this patch rewrites "for
x in set" to use a constant frozenset.

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

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


More information about the Patches mailing list