Armin Rigo  committed 48ef6cd

Comment (derived from pypy-dev).

  • Participants
  • Parent commits 4d956cf
  • Branches default

Comments (0)

Files changed (1)

File pypy/objspace/std/

                 return result
     def popitem(self, w_dict):
+        # this is a bad implementation: if we call popitem() repeatedly,
+        # it ends up taking n**2 time, because the next() calls below
+        # will take longer and longer.  But all interesting strategies
+        # provide a better one.
         space =
         iterator = self.iter(w_dict)
         w_key, w_value =