Re: [Python-Dev] [Python-3000] Iterators for dict keys, values, and items == annoying :)
29 Mar
2006
29 Mar
'06
8:48 p.m.
Nick Coghlan wrote:
There are three big use cases:
dict.keys dict.values dict.items
Currently these all return lists, which may be expensive in terms of copying. They all have iter* variants which while memory efficient, are far less convenient to work with.
I'm still wondering what "far less convenient" means. Is it simply the 4 extra key presses? I find the iter* variants to be a great solution. Robert Brewer System Architect Amor Ministries fumanchu@amor.org
6601
Age (days ago)
6601
Last active (days ago)
0 comments
1 participants
participants (1)
-
Robert Brewer