Skip to content

Conversation

@hoxxep
Copy link
Owner

@hoxxep hoxxep commented Oct 27, 2023

Unfinished implementation for PermuteSlice trait and introduces the with_max builder setting to allow using RandomSequence for generating slice permutations.

TODO:

  • Improve the algorithm and/or seed with a hash to increase the number of permutations we're able to produce. With the lack of a seeded offset this algo only generates a very small number of permutations versus the total available permutations.
  • Revisit PermuteSlice implementation for a cleaner API and iterators, double check the behaviour/need for permute_mut.
  • Add permute-in-place for slice mut.

@hoxxep hoxxep marked this pull request as draft October 27, 2023 23:00
@hoxxep hoxxep mentioned this pull request Oct 30, 2023
@hoxxep hoxxep force-pushed the master branch 7 times, most recently from f5c316f to 44a2c61 Compare November 14, 2023 18:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants