An open API service indexing awesome lists of open source software.

https://github.com/timnn/shuffled-iter

Iterate through a set of values in random order without allocating them all
https://github.com/timnn/shuffled-iter

Last synced: about 1 year ago
JSON representation

Iterate through a set of values in random order without allocating them all

Awesome Lists containing this project

README

          

# shuffled-iter [![Build Status](https://travis-ci.org/TimNN/shuffled-iter.svg?branch=master)](https://travis-ci.org/TimNN/shuffled-iter) [![Coverage Status](https://coveralls.io/repos/TimNN/shuffled-iter/badge.svg?branch=master&service=github)](https://coveralls.io/github/TimNN/shuffled-iter?branch=master) [![Crates.io](https://img.shields.io/crates/v/shuffled-iter.svg)](https://crates.io/crates/shuffled-iter)

[Documentation](https://timnn.github.io/shuffled-iter)

This crate provides methods to iterate over a group of values in random order, without allocation and shuffling them all.

It currently supports:

* all integer ranges
* slices of any kind