[Python-3000] Spooky behavior of dict.items() and friends

John Barham jbarham at gmail.com
Wed Apr 2 08:42:24 CEST 2008


David Pokorny wrote:
>  With all due respect, the policy you
>  describe---a more efficient implementation in the common
>  case---optimizes the code of people who don't think about this issue
>  at all. In other words it facilitates premature optimization.

So automatically making the most common use-case more efficient for
the naïve user is a problem?

  John


More information about the Python-3000 mailing list