deus-x-mackina / poker

A Rust crate for evaluating poker hands
MIT License
12 stars 5 forks source link

The combinations generator could yield [T; N] #7

Closed deus-x-mackina closed 1 year ago

deus-x-mackina commented 1 year ago

combinations from itertools is great, but I think we can yield a combination iterator that yields [T; N] if we know we want five-card combos from the get go. We can use const generics for this.