RFC: Viper: yet another python implementation
John W. Stevens
jstevens at basho.fc.hp.com
Fri Aug 13 13:04:12 EDT 1999
Phil Hunt wrote:
> > 6) what do you want?
>
> C-style comments
>
> sorted dictionary loops, eg:
>
> for k, v in dict.sortedValues():
>
> where this is sorted by keys.
If this last one is what you want, why not use either my B-Tree
container class, or my Trie container class?
Either one gets you reasonably fast mapping/unmapping, as well
as sorted keys.
John S.
More information about the Python-list
mailing list