Changed the signature of the accessor callback in order to be able to use it with an InterruptableIterableIteratorAggregate (which is used for performance reasons).
Implemented retries logic inside DistinctOperation, which allows us not having duplicates when using random numbers as input data and also improves performance by avoiding unnecessary iterations over all elements from collection if we already have enough unique values that satisfy our needs (elements count limit) or there are no more possible combinations left based on current iteration state/position(s).
Since this pull request has not had any activity within the last 5 days, I have marked it as stale.
I will close it if no further activity occurs within the next 5 days.
Fix issue when using infinite generators
This PR:
Follows #. Related to #. Fixes #.