counter-rs icon indicating copy to clipboard operation
counter-rs copied to clipboard

Simple object to count Rust iterables

Results 4 counter-rs issues
Sort by recently updated
recently updated
newest added

Instead of `a.is_subset(b)`, we should be able to write `a

https://github.com/coriolinus/counter-rs/blob/9e217dcbe7f47d660428f11bb39504087a896474/src/lib.rs#L293-L294 That code was added in #9 (see discussion) and has never sat quite right. Can we work around it now? Leak exactly one zero item for each `N`? Bypass...

I was thinking about incorporating rayon in certain sections of the code behind a feature flag. For instance `pub fn most_common_tiebreaker` could be changed as follows ```rust pub fn most_common_tiebreaker(&self,...

It would be useful for Counter to be generic over the hashing algorithm, in the same way that HashMap allows alternate hashing algorithms to be specified. Currently the performance of...