[Patches] [Patch #102227] make BUILD_MAP use it's argument
noreply@sourceforge.net
noreply@sourceforge.net
Thu, 01 Feb 2001 10:14:36 -0800
Patch #102227 has been updated.
Project: python
Category: core (C code)
Status: Rejected
Submitted by: mwh
Assigned to : jhylton
Summary: make BUILD_MAP use it's argument
Follow-Ups:
Date: 2001-Feb-01 10:14
By: jhylton
Comment:
While this change make the generated code a lot simpler, it
also has a high cost in speed and memory. The stack for a code
object needs to be big enough to hold all the keys and values,
which can be costly. The pybench dict creation benchmark slows
down about 15%.
-------------------------------------------------------
Date: 2000-Nov-02 09:00
By: mwh
Comment:
This patch makes BUILD_MAP more like BUILD_LIST, and uses these newfound
abilities to compile literal dictionaries into code more like that for
lists and tuples.
No reason, really, beyong asthetics & the fact that this'll make some hacks
I want to inflict on the function call mechanism easier...
-------------------------------------------------------
Date: 2000-Nov-13 11:40
By: gvanrossum
Comment:
I'll give this to Jeremy for consideration, since he's working on a
restructuring of the function call code anyway. I'll note thta this is
really low priority.
-------------------------------------------------------
-------------------------------------------------------
For more info, visit:
http://sourceforge.net/patch/?func=detailpatch&patch_id=102227&group_id=5470