RFC: Viper: yet another python implementation

John W. Stevens jstevens at basho.fc.hp.com
Fri Aug 13 19:04:12 CEST 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