This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author rhettinger
Recipients belopolsky, jafo, rhettinger
Date 2008-04-08.15:54:54
SpamBayes Score 0.009869222
Marked as misclassified No
Message-id <1207670096.32.0.939984211533.issue2197@psf.upfronthosting.co.za>
In-reply-to
Content
-1   I don't think this is worth the semantic change.  The current 
approach doesn't require special cases for different dict sizes. The 
code/time savings is very small (seven bytes of opcodes per item get 
condensed by only one byte and the cost of one time around the eval-
loop is tiny in comparison to the cost of inserting a new dict entry).  
Besides, dict literals almost never occur in the inner-loops of time 
critical code. 

I recommend that this stay closed.  Better to aim for meaningful 
optimizations using the AST and avoid micro-optimizations that subtly 
change semantics.
History
Date User Action Args
2008-04-08 15:54:56rhettingersetspambayes_score: 0.00986922 -> 0.009869222
recipients: + rhettinger, jafo, belopolsky
2008-04-08 15:54:56rhettingersetspambayes_score: 0.00986922 -> 0.00986922
messageid: <1207670096.32.0.939984211533.issue2197@psf.upfronthosting.co.za>
2008-04-08 15:54:55rhettingerlinkissue2197 messages
2008-04-08 15:54:54rhettingercreate