Attempting to start a refactor for wavelink.Queue to use an internal list instead of an internal deque.
It should allow users to use the Queue in more ways that need fast random access. Changes are based on the pre-existing queue and this rough layout by Mysty in the Wavelink Discord dev channel.
(Side note: Part of the reason this is a draft is because it feels like a mess at the moment.)
[ ] If code changes were made then they have been tested.
[ ] I have updated the documentation to reflect the changes.
[ ] I have updated the changelog with a quick recap of my changes.
[ ] This PR fixes an issue.
[x] This PR adds something new (e.g. new method or parameters).
[x] This PR is a breaking change (e.g. methods or parameters removed/renamed) (with further changes, might not be the case.)
[ ] This PR is not a code change (e.g. documentation, README, ...)
Attempting to start a refactor for
wavelink.Queue
to use an internal list instead of an internal deque.It should allow users to use the Queue in more ways that need fast random access. Changes are based on the pre-existing queue and this rough layout by Mysty in the Wavelink Discord dev channel.
(Side note: Part of the reason this is a draft is because it feels like a mess at the moment.)