⬅︎ Back to HTML entity fixer
It's not better to use entitytdefs.iteritems() instead of .items()?
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.
Comment
It's not better to use entitytdefs.iteritems() instead of .items()?
Replies
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.