Rust implementation of the CVM algorithm for counting distinct elements in a stream
Commits
Author
Commit
Message
Date
Add builder function
Update version, edition, and MSRV
Switch to a treap
Note differences from far more thorough implementation at https://github.com/apanda/cvm
It's not a real test, just allows quick calculation of the actual count
swap_remove duplicates the last element: we do NOT want duplicates
Treap remarks
previous