[Patches] [ python-Patches-1442442 ] Faster list comprehensions
SourceForge.net
noreply at sourceforge.net
Fri Mar 3 13:41:03 CET 2006
Patches item #1442442, was opened at 2006-03-03 07:41
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=1442442&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: Parser/Compiler
Group: Python 2.5
Status: Open
Resolution: None
Priority: 5
Submitted By: Collin Winter (collinwinter)
Assigned to: Nobody/Anonymous (nobody)
Summary: Faster list comprehensions
Initial Comment:
The attached patch results in a 16% speed increase for
list comprehensions. By changing how the LIST_APPEND
opcode works (which was previously totally unused),
it's possible to dramatically simplify the emitted
bytecode for listcomps.
More details are available on my blog:
http://oakwinter.com/code/?p=22.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1442442&group_id=5470
More information about the Patches
mailing list