3 ms·
That does not prevent a tree-based implementation, though.
by adamtulinius 7y ago
That does not prevent a tree-based implementation, though.
- filmor 7y agoIt kind of does. And there is also no need to argue about this, the code is available and very straight forward: https://github.com/erlang/otp/blob/fe2b1323a3866ed0a9712e9d12e1f8f84793ec47/lib/stdlib/src/ordsets.erl#L31 https://github.com/erlang/otp/blob/fe2b1323a3866ed0a9712e9d1...