cleoold / types-linq

Standard sequence helper algorithms with full typing support
BSD 2-Clause "Simplified" License
15 stars 1 forks source link

balanced search tree based ComposeMap #8

Open cleoold opened 3 years ago

cleoold commented 3 years ago

the current implementation leads to O(n^2) algorithms for some methods like .distinct() if the input is bad (unhashable). I would like to improve this part

Yxa2111 commented 3 years ago

maybe we can use it? http://www.grantjenks.com/docs/sortedcontainers/