Skip to content

Cycles not dict#1

Merged
JamesParrott merged 2 commits intodistinct_permutations_of_incomparable_itemsfrom
cycles_not_dict
May 5, 2024
Merged

Cycles not dict#1
JamesParrott merged 2 commits intodistinct_permutations_of_incomparable_itemsfrom
cycles_not_dict

Conversation

@JamesParrott
Copy link
Copy Markdown
Owner

Changes

Memory optimisation. Uses the same dict of cycle iterators for each call to permuted_items function, instead of createing a new dict for every call.

@JamesParrott JamesParrott merged commit 0fc6562 into distinct_permutations_of_incomparable_items May 5, 2024
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.

1 participant