droundy / tinyset

Compact sets in rust
Apache License 2.0
53 stars 8 forks source link

No is_empty() method on sets #6

Closed mateon1 closed 4 years ago

mateon1 commented 4 years ago

There should be a convenience method set.is_empty(). Currently you have to compare set.len() == 0.

droundy commented 4 years ago

I'll happily accept a pull request for this, or will try to get to it this summer.