Details about pythons set implementation

bearophileHUGS at lycos.com bearophileHUGS at lycos.com
Sat Jan 5 17:59:33 EST 2008


Sion Arrowsmith:
> Because ... how to be polite about this? No, I can't. std::set is
> crap. The implementation is a sorted sequence

What about using hash_map instead? You can use it with GCC too (but
you have to use a trick if you want to use string keys).

Bye,
bearophile



More information about the Python-list mailing list