Performance of Blocks in Python

Dilip rdilipk at lycos.com
Tue May 9 19:23:54 EDT 2006


I read a couple of interesting blog posts about the performance of
blocks in languages like Ruby, Python here[1] and here[2].  The posts
start out questioning Ruby but towards the middle and the end it does
draw analogies between python's design decision to introduce 'with'
statement as a language extension rather than a closure.

[1] http://pluralsight.com/blogs/dbox/archive/2006/05/09/23068.aspx
[2] http://pluralsight.com/blogs/dbox/archive/2006/05/08/23001.aspx




More information about the Python-list mailing list