Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optimize rotations #11

Open
4 tasks
Pshy0 opened this issue Jul 9, 2023 · 0 comments
Open
4 tasks

Optimize rotations #11

Pshy0 opened this issue Jul 9, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@Pshy0
Copy link
Owner

Pshy0 commented Jul 9, 2023

This is a list of a few optimizations that can be done to the rotation system:

  • The rotation "class" should be reverted back to a table #5
  • When items only appear in the same order, only use a index instead of additional lists.
  • Instead of popping an item from the list, move the last item to the location where an item was popped.
  • Fill up the next rotation index table progressively, as items are popped, instead of doing it in one go.
@Pshy0 Pshy0 added the enhancement New feature or request label Jul 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant