Comment

Peter

Actually not. iteritems() is only faster than items() when the size of the dictionnary exceeds 1000 if the elements in the dict are small. I know this because I've done some benchmarking.

Parent comment

Bogdano

It's not better to use entitytdefs.iteritems() instead of .items()?