use-dict-comprehension example
billou57 opened this issue · 3 comments
billou57 commented
hello
the example provided for use-dict-comprehension documentation leaves me doubtful
tonybaloney commented
Can you elaborate please
billou57 commented
hello
I think you should provide some information regarding performance. perhaps only by repeating the benefit of list comprehensions. otherwise, it seems (imho) only like a personal taste
msztylko commented
This stack overflow provides a good explanation of why it's better to use dict comprehensions.