Andrew Barnert abarnert@yahoo.com.dmarc.invalid wrote:
(There's a reason that Java, as well as C++ and other languages, provides sets and maps based on both hash tables and sorted logarithmic structures--because they're not interchangeable.)
Yes. And Python unfortunately only provides them as hash tables.
Sturla